linux-brain/net/iucv
Julian Wiedmann b977cc31da net/af_iucv: always register net_device notifier
[ Upstream commit 06996c1d40 ]

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: 9fbd87d413 ("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>
2020-01-27 14:50:56 +01:00
..
af_iucv.c net/af_iucv: always register net_device notifier 2020-01-27 14:50:56 +01:00
iucv.c net/iucv: declare iucv_path_table_empty() as static 2018-09-05 22:32:22 -07:00
Kconfig iucv: kernel option for z/VM IUCV and HiperSockets 2011-08-13 01:10:16 -07:00
Makefile [S390]: Add AF_IUCV socket support 2007-02-08 13:51:54 -08:00