summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorTonghao Zhang <xiangxia.m.yue@gmail.com>2021-03-11 05:57:36 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-12 03:05:08 +0300
commitb80350f393703fa2e733921430276c98bbc092de (patch)
treee6f35cfeaf220a25fecd5d360214b43221263622 /scripts/gdb/linux/timerlist.py
parent47142ed6c34d544ae9f0463e58d482289cbe0d46 (diff)
downloadlinux-b80350f393703fa2e733921430276c98bbc092de.tar.xz
net: sock: simplify tw proto registration
Introduce the new function tw_prot_init (inspired by req_prot_init) to simplify "proto_register" function. tw_prot_cleanup will take care of a partially initialized timewait_sock_ops. Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Reviewed-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions