diff options
| author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-06-18 20:43:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:45 +0100 |
| commit | 363df59c69f87a51e8c13dccf5da342cb3f46f64 (patch) | |
| tree | 618e8ae9f44d773e77bac7de7e2eee90e3f3bd8e /drivers/iommu/amd_iommu_init.c | |
| parent | edfcab71278d5f2949e5dccc092ba7486508594f (diff) | |
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 'drivers/iommu/amd_iommu_init.c')
0 files changed, 0 insertions, 0 deletions
