diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2021-03-11 10:57:36 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-11 16:05:08 -0800 |
commit | b80350f393703fa2e733921430276c98bbc092de (patch) | |
tree | e6f35cfeaf220a25fecd5d360214b43221263622 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 47142ed6c34d544ae9f0463e58d482289cbe0d46 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions