]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd5dcb3e6929711af45e6c96260f9c70101c02488
tree1ada6ec6cd236f98371c32fc02c30c97546f84d9
parentcb1cb8fe17f64c3f4a63975ff4d684c54729275a
[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