• J
    bonding: move processing of recv handlers into handle_frame() · 3aba891d
    Jiri Pirko 提交于
    Since now when bonding uses rx_handler, all traffic going into bond
    device goes thru bond_handle_frame. So there's no need to go back into
    bonding code later via ptype handlers. This patch converts
    original ptype handlers into "bonding receive probes". These functions
    are called from bond_handle_frame and they are registered per-mode.
    
    Note that vlan packets are also handled because they are always untagged
    thanks to vlan_untag()
    
    Note that this also allows arpmon for eth-bond-bridge-vlan topology.
    Signed-off-by: NJiri Pirko <jpirko@redhat.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    3aba891d
bonding.h 12.0 KB