mirror of https://github.com/torvalds/linux.git
bond_header_parse() can loop if a stack of two bonding devices is setup,
because skb->dev always points to the hierarchy top.
Add new "const struct net_device *dev" parameter to
(struct header_ops)->parse() method to make sure the recursion
is bounded, and that the final leaf parse method is called.
Fixes:
|
||
|---|---|---|
| .. | ||
| .kunitconfig | ||
| Kconfig | ||
| Makefile | ||
| core-card.c | ||
| core-cdev.c | ||
| core-device.c | ||
| core-iso.c | ||
| core-topology.c | ||
| core-trace.c | ||
| core-transaction.c | ||
| core.h | ||
| device-attribute-test.c | ||
| init_ohci1394_dma.c | ||
| net.c | ||
| nosy-user.h | ||
| nosy.c | ||
| nosy.h | ||
| ohci-serdes-test.c | ||
| ohci.c | ||
| ohci.h | ||
| packet-header-definitions.h | ||
| packet-serdes-test.c | ||
| phy-packet-definitions.h | ||
| sbp2.c | ||
| self-id-sequence-helper-test.c | ||
| uapi-test.c | ||