[NET]: Kill skb->real_dev
Bonding just wants the device before the skb_bond()
decapsulation occurs, so simply pass that original
device into packet_type->func() as an argument.
It remains to be seen whether we can use this same
exact thing to get rid of skb->input_dev as well.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/block/aoe/aoenet.c 1 addition, 1 deletiondrivers/block/aoe/aoenet.c
- drivers/net/bonding/bond_3ad.c 4 additions, 7 deletionsdrivers/net/bonding/bond_3ad.c
- drivers/net/bonding/bond_3ad.h 1 addition, 1 deletiondrivers/net/bonding/bond_3ad.h
- drivers/net/bonding/bond_alb.c 2 additions, 3 deletionsdrivers/net/bonding/bond_alb.c
- drivers/net/hamradio/bpqether.c 2 additions, 2 deletionsdrivers/net/hamradio/bpqether.c
- drivers/net/pppoe.c 4 additions, 2 deletionsdrivers/net/pppoe.c
- drivers/net/wan/hdlc_generic.c 1 addition, 1 deletiondrivers/net/wan/hdlc_generic.c
- drivers/net/wan/lapbether.c 1 addition, 1 deletiondrivers/net/wan/lapbether.c
- drivers/net/wan/syncppp.c 1 addition, 1 deletiondrivers/net/wan/syncppp.c
- include/linux/if_vlan.h 0 additions, 1 deletioninclude/linux/if_vlan.h
- include/linux/netdevice.h 6 additions, 4 deletionsinclude/linux/netdevice.h
- include/linux/skbuff.h 0 additions, 2 deletionsinclude/linux/skbuff.h
- include/net/arp.h 1 addition, 1 deletioninclude/net/arp.h
- include/net/ax25.h 1 addition, 1 deletioninclude/net/ax25.h
- include/net/datalink.h 1 addition, 1 deletioninclude/net/datalink.h
- include/net/ip.h 1 addition, 1 deletioninclude/net/ip.h
- include/net/ipv6.h 2 additions, 1 deletioninclude/net/ipv6.h
- include/net/llc.h 5 additions, 3 deletionsinclude/net/llc.h
- include/net/p8022.h 2 additions, 1 deletioninclude/net/p8022.h
- include/net/psnap.h 1 addition, 1 deletioninclude/net/psnap.h
Loading
Please register or sign in to comment