]> Git Repo - linux.git/commit
rds: tcp: remove register_netdevice_notifier infrastructure.
authorSowmini Varadhan <[email protected]>
Mon, 19 Mar 2018 13:52:48 +0000 (06:52 -0700)
committerDavid S. Miller <[email protected]>
Thu, 22 Mar 2018 15:21:45 +0000 (11:21 -0400)
commitbdf5bd7f21323493dbe5f2c723dc33f2fbb0241a
tree12633ea0651bab430f07624ec38878c843e9f46c
parent692ec06d7c92af8ca841a6367648b9b3045344fd
rds: tcp: remove register_netdevice_notifier infrastructure.

The netns deletion path does not need to wait for all net_devices
to be unregistered before dismantling rds_tcp state for the netns
(we are able to dismantle this state on module unload even when
all net_devices are active so there is no dependency here).

This patch removes code related to netdevice notifiers and
refactors all the code needed to dismantle rds_tcp state
into a ->exit callback for the pernet_operations used with
register_pernet_device().

Signed-off-by: Sowmini Varadhan <[email protected]>
Reviewed-by: Kirill Tkhai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/rds/tcp.c
This page took 0.056124 seconds and 4 git commands to generate.