diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2013-10-16 18:37:53 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-11-09 02:42:49 +0400 |
commit | 94232d9ce81755c4b0c1536648442383442b27e0 (patch) | |
tree | 665e0c5214e0a3ee33e9fe60d9f93471546b8b80 /arch/h8300/kernel/timer | |
parent | a39c52ab887fdcefae1d7f467fb0621f30833c84 (diff) | |
download | linux-94232d9ce81755c4b0c1536648442383442b27e0.tar.xz |
IPoIB: Start multicast join process only on active ports
The driver starts the mcast_join task whenever the netdev interface is
UP without relation to the underlying IB port state.
Until the port state is ACTIVE all the join requests are irrelevant,
and the IB core returns -EINVAL. So the user will see errors such as:
"multicast join failed for ff12:401b:... , status -22".
Instead, have ipoib_mcast_join_task() return when the port is not active.
It will be called again when the port state is changed and the
low-level driver triggers the IB_EVENT_PORT_ACTIVE event or the
IB_EVENT_CLIENT_REREGISTER event.
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'arch/h8300/kernel/timer')
0 files changed, 0 insertions, 0 deletions