mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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:
|
||
|---|---|---|
| .. | ||
| cfg.c | ||
| cfg.h | ||
| driver-ops.h | ||
| ieee802154_i.h | ||
| iface.c | ||
| Kconfig | ||
| llsec.c | ||
| llsec.h | ||
| mac_cmd.c | ||
| main.c | ||
| Makefile | ||
| mib.c | ||
| rx.c | ||
| scan.c | ||
| trace.c | ||
| trace.h | ||
| tx.c | ||
| util.c | ||