be2net: drop pkts that do not belong to the port
authorSathya Perla <sathya.perla@emulex.com>
Tue, 2 Aug 2011 19:57:46 +0000 (19:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2011 10:23:30 +0000 (03:23 -0700)
commit12004ae99c009a4ff3c8ea0843f1980aa5bcb4ea
treedf510ef2be2eb17ca9e5bae681f27092e789729a
parent306f13487c9f7d6e3303a547e01e22958a04c666
be2net: drop pkts that do not belong to the port

On some BE skews, while in promiscuous mode, pkts that do not belong to a
port can arrive on that port. Drop such pkts.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_main.c