]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IPoIB: Rejoin all multicast groups after a port event
authorEli Cohen <eli@mellanox.co.il>
Sun, 11 Mar 2007 06:36:27 +0000 (07:36 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sun, 11 Mar 2007 06:36:27 +0000 (07:36 +0100)
commit4b3c56f0239d50fff032d3ff53f7b7509d10b53b
tree158fd492e3960b1de65a06cbce3465e0b82c38ef
parent11bb9d392c1d5b63e2b9a0c8cc8a64cf49808757
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: Adrian Bunk <bunk@stusta.de>
drivers/infiniband/ulp/ipoib/ipoib_ib.c