]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: force a dst refcount when prequeue packet
authorEric Dumazet <edumazet@google.com>
Thu, 25 Apr 2013 01:34:55 +0000 (18:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 04:34:24 +0000 (00:34 -0400)
commit093162553c33e9479283e107b4431378271c735d
tree39c82b25b7402f6645b7fec4270bcac0f49e4101
parentd2cb6ce7306997c753976b65bf81495e1efe7074
tcp: force a dst refcount when prequeue packet

Before escaping RCU protected section and adding packet into
prequeue, make sure the dst is refcounted.

Reported-by: Mike Galbraith <bitbucket@online.de>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h