af_key: remove a duplicated skb_orphan()
authorCong Wang <xiyou.wangcong@gmail.com>
Wed, 23 Jan 2013 14:52:27 +0000 (22:52 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 28 Jan 2013 08:22:12 +0000 (09:22 +0100)
commitcdfa1fe5c0d4f2815acfe8cd7730a0b3d8d0a3e9
treea8f1d7241ef54b3d2510b0b80e9cb7ba2a19efe4
parentcef401de7be8c4e155c6746bfccf721a4fa5fab9
af_key: remove a duplicated skb_orphan()

skb_set_owner_r() will call skb_orphan(), I don't
see any reason to call it twice.

Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/key/af_key.c