inet: Call skb_orphan before tproxy activates
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 Jun 2009 02:22:37 +0000 (19:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jun 2009 02:22:37 +0000 (19:22 -0700)
As transparent proxying looks up the socket early and assigns
it to the skb for later processing, we must drop any existing
socket ownership prior to that in order to distinguish between
the case where tproxy is active and where it is not.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found