Re: [PATCH] netfilter: conntrack: use fallthrough to cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 25, 2022 at 10:32:15AM +0800, Jackie Liu wrote:
> From: Jackie Liu <liuyun01@xxxxxxxxxx>
> 
> These cases all use the same function. we can simplify the code through
> fallthrough.
> 
> $ size net/netfilter/nf_conntrack_core.o
> 
>         text	   data	    bss	    dec	    hex	filename
> before  81601	  81430	    768	 163799	  27fd7	net/netfilter/nf_conntrack_core.o
> after   80361	  81430	    768	 162559	  27aff	net/netfilter/nf_conntrack_core.o
> 
> Arch: aarch64
> Gcc : gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)

Applied, thanks



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux