diff options
| author | Yajun Deng <[email protected]> | 2021-08-17 15:23:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-18 09:34:48 +0000 |
| commit | 41467d2ff4dfe1837cbb0f45e2088e6e787580c6 (patch) | |
| tree | 5ed1faf91f5d7ff9b9c897fb719eab66c7503533 /net/ipv4/tcp_output.c | |
| parent | net: dsa: tag_sja1105: be dsa_loop-safe (diff) | |
| download | kernel-41467d2ff4dfe1837cbb0f45e2088e6e787580c6.tar.gz kernel-41467d2ff4dfe1837cbb0f45e2088e6e787580c6.zip | |
net: net_namespace: Optimize the code
There is only one caller for ops_free(), so inline it.
Separate net_drop_ns() and net_free(), so the net_free()
can be called directly.
Add free_exit_list() helper function for free net_exit_list.
====================
v2:
- v1 does not apply, rebase it.
====================
Signed-off-by: Yajun Deng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
