IPoIB: Rejoin all multicast groups after a port event
authorEli Cohen <eli@mellanox.co.il>
Fri, 22 Sep 2006 22:22:56 +0000 (15:22 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:56 +0000 (15:22 -0700)
commit5ccd025553d73e523212ee0860b7f4a75e886bfa
tree31a6fe6745b16b47cab4e34760e6c8a1ab70108b
parentd0df6d6d4539241179a1ef5394787825bf05bbce
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>
drivers/infiniband/ulp/ipoib/ipoib_ib.c