]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] IPoIB: Rejoin all multicast groups after a port event
authorEli Cohen <eli@mellanox.co.il>
Tue, 17 Oct 2006 23:23:25 +0000 (16:23 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 4 Nov 2006 01:33:47 +0000 (17:33 -0800)
commitfd4c742d7c4932e37fc56914c4586327816df12e
treed9035a8a212296e57d20a9a721ce44dd9afc4e20
parent016c9ac429dff26bc481b53f01f0a9ac486021ff
[PATCH] IPoIB: Rejoin all multicast groups after a port event

When ipoib_ib_dev_flush() is called because of a port event, the
driver needs to rejoin all multicast groups, since the flush will call
ipoib_mcast_dev_flush() (via ipoib_ib_dev_down()).  Otherwise no
(non-broadcast) multicast groups will be rejoined until the networking
core calls ->set_multicast_list again, and so multicast reception will
be broken for potentially a long time.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/infiniband/ulp/ipoib/ipoib_ib.c