aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2015-07-24 16:57:42 +0000
committerDavid S. Miller <[email protected]>2015-07-27 08:08:25 +0000
commit990edb428c2c85c22ca770330437db7183cbe8b5 (patch)
treead83cca043fb0c012fc0b43ae5276d4b7c719537 /net/ipv4/tcp_output.c
parentbonding: convert num_grat_arp to the new bonding option API (diff)
downloadkernel-990edb428c2c85c22ca770330437db7183cbe8b5.tar.gz
kernel-990edb428c2c85c22ca770330437db7183cbe8b5.zip
ipv6: Re-arrange code in rt6_probe()
It is a prep work for the next patch to remove write_lock from rt6_probe(). 1. Reduce the number of if(neigh) check. From 4 to 1. 2. Bring the write_(un)lock() closer to the operations that the lock is protecting. Hopefully, the above make rt6_probe() more readable. Signed-off-by: Martin KaFai Lau <[email protected]> Cc: Hannes Frederic Sowa <[email protected]> Cc: Julian Anastasov <[email protected]> Cc: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions