]> git.baikalelectronics.ru Git - kernel.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)
commitb306c9db9b855d0c97fcf5ca1c282330aac533a4
tree39c82b25b7402f6645b7fec4270bcac0f49e4101
parent2f546a48d0ce472c3196c1f254ccb25c24f0c4e9
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