aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-10-04 21:08:11 -0700
committerDavid S. Miller <davem@davemloft.net>2015-10-05 02:45:27 -0700
commita1a5344ddbe8fd3e080013b317ac9a664490cfdf (patch)
tree75c793a05dd64db3df05f804e429bae45ead20d1 /net/unix
parentnet: use sk_fullsock() in __netdev_pick_tx() (diff)
downloadlinux-dev-a1a5344ddbe8fd3e080013b317ac9a664490cfdf.tar.xz
linux-dev-a1a5344ddbe8fd3e080013b317ac9a664490cfdf.zip
tcp: avoid two atomic ops for syncookies
inet_reqsk_alloc() is used to allocate a temporary request in order to generate a SYNACK with a cookie. Then later, syncookie validation also uses a temporary request. These paths already took a reference on listener refcount, we can avoid a couple of atomic operations. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions