diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-06-18 21:43:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 16:50:56 +0300 |
commit | b977cc31dab1fefbd50f933b7a2815ece3b9c426 (patch) | |
tree | bd032d2c8cd7d584ab94aa213168ca7842832119 /sound | |
parent | 9cbefb0fdefcdca66fca88208f4467eb119b56f4 (diff) | |
download | linux-b977cc31dab1fefbd50f933b7a2815ece3b9c426.tar.xz |
net/af_iucv: always register net_device notifier
[ Upstream commit 06996c1d4088a0d5f3e7789d7f96b4653cc947cc ]
Even when running as VM guest (ie pr_iucv != NULL), af_iucv can still
open HiperTransport-based connections. For robust operation these
connections require the af_iucv_netdev_notifier, so register it
unconditionally.
Also handle any error that register_netdevice_notifier() returns.
Fixes: 9fbd87d41392 ("af_iucv: handle netdev events")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions