[PATCH] iseries_veth: Fix broken promiscuous handling
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 1 Sep 2005 01:29:02 +0000 (11:29 +1000)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Sep 2005 02:37:57 +0000 (22:37 -0400)
commit2a5391a12297d1759b1c736634acb95793d43fb3
tree1ada6ec6cd236f98371c32fc02c30c97546f84d9
parent58c5900bdaffbf76afd7ad5e053410cb95eb3169
[PATCH] iseries_veth: Fix broken promiscuous handling

Due to a logic bug, once promiscuous mode is enabled in the iseries_veth
driver it is never disabled.

The driver keeps two flags, promiscuous and all_mcast which have exactly the
same effect. This is because we only ever receive packets destined for us,
or multicast packets. So consolidate them into one promiscuous flag for
simplicity.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/iseries_veth.c