diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/netlink/af_netlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 733bf52cef3e..b40c9a976969 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -697,6 +697,7 @@ static __inline__ int netlink_broadcast_deliver(struct sock *sk, struct sk_buff | |||
697 | 697 | ||
698 | if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && | 698 | if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf && |
699 | !test_bit(0, &nlk->state)) { | 699 | !test_bit(0, &nlk->state)) { |
700 | skb_orphan(skb); | ||
700 | skb_set_owner_r(skb, sk); | 701 | skb_set_owner_r(skb, sk); |
701 | skb_queue_tail(&sk->sk_receive_queue, skb); | 702 | skb_queue_tail(&sk->sk_receive_queue, skb); |
702 | sk->sk_data_ready(sk, skb->len); | 703 | sk->sk_data_ready(sk, skb->len); |