diff options
| author | Florian Westphal <[email protected]> | 2019-01-15 22:03:47 +0100 | 
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2019-01-18 15:02:34 +0100 | 
| commit | 4a60dc748d121b52533a2956567df4f87a3835b1 (patch) | |
| tree | 9ca0bd1869fbe68cb47e3da66e506758ceb6926a /tools/perf/scripts/python/sctop.py | |
| parent | e56894356f60f9d11bdf53ee5a050a235f6d2b48 (diff) | |
netfilter: conntrack: remove nf_ct_l4proto_find_get
Its now same as __nf_ct_l4proto_find(), so rename that to
nf_ct_l4proto_find and use it everywhere.
It never returns NULL and doesn't need locks or reference counts.
Before this series:
302824  net/netfilter/nf_conntrack.ko
 21504  net/netfilter/nf_conntrack_proto_gre.ko
  text	   data	    bss	    dec	    hex	filename
  6281	   1732	      4	   8017	   1f51	nf_conntrack_proto_gre.ko
108356	  20613	    236	 129205	  1f8b5	nf_conntrack.ko
After:
294864  net/netfilter/nf_conntrack.ko
  text	   data	    bss	    dec	    hex	filename
106979	  19557	    240	 126776	  1ef38	nf_conntrack.ko
so, even with builtin gre, total size got reduced.
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions