diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2010-05-12 21:31:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-02 03:35:18 -0700 |
commit | 2df4a0fa1540c460ec69788ab2a901cc72a75644 (patch) | |
tree | cf9fb32c112a2b27eaeccd8a825c15505b32e2d9 /drivers/sh | |
parent | 194dbcc8a1a97cbac9a619a563e5f6b7f7d5a485 (diff) | |
download | op-kernel-dev-2df4a0fa1540c460ec69788ab2a901cc72a75644.zip op-kernel-dev-2df4a0fa1540c460ec69788ab2a901cc72a75644.tar.gz |
net: fix conflict between null_or_orig and null_or_bond
If a skb is received on an inactive bond that does not meet
the special cases checked for by skb_bond_should_drop it should
only be delivered to exact matches as the comment in
netif_receive_skb() says.
However because null_or_bond could also be null this is not
always true. This patch renames null_or_bond to orig_or_bond
and initializes it to orig_dev. This keeps the intent of
null_or_bond to pass frames received on VLAN interfaces stacked
on bonding interfaces without invalidating the statement for
null_or_orig.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions