commit | e9a441b6e729e16092fcc18e3962b952a01d1e3c | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Thu Mar 29 17:03:25 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 30 10:59:23 2018 -0400 |
tree | 5c965e67ad80ab77a91f12c87446aa96067baf5c | |
parent | caeeeda3444b1339dca8be22aa09e1441f90e6b7 [diff] |
xfrm: Register xfrm_dev_notifier in appropriate place Currently, driver registers it from pernet_operations::init method, and this breaks modularity, because initialization of net namespace and netdevice notifiers are orthogonal actions. We don't have per-namespace netdevice notifiers; all of them are global for all devices in all namespaces. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>