aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorXiao Liang <[email protected]>2025-02-19 12:50:38 +0000
committerJakub Kicinski <[email protected]>2025-02-21 23:28:03 +0000
commit030329416232ff9f2e3e4bb065b29e6c9a7d5050 (patch)
treef3a21746dcb001af24c8148945e662d0775777fc /net/ipv4/tcp_input.c
parentrtnetlink: Create link directly in target net namespace (diff)
downloadkernel-030329416232ff9f2e3e4bb065b29e6c9a7d5050.tar.gz
kernel-030329416232ff9f2e3e4bb065b29e6c9a7d5050.zip
selftests: net: Add python context manager for netns entering
Change netns of current thread and switch back on context exit. For example: with NetNSEnter("ns1"): ip("link add dummy0 type dummy") The command be executed in netns "ns1". Signed-off-by: Xiao Liang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions