diff options
author | Alex Shi <alex.shi@linaro.org> | 2017-02-27 12:00:51 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2017-02-27 12:00:51 +0800 |
commit | 71205f3b80da389c52cc2611f59e183a77c56f4f (patch) | |
tree | 85ca1f0dcd6a87078dd1b191a8ba451f687b71db /net/llc/llc_sap.c | |
parent | aedb4a24b9ae4fbd6ced45ae64ae3d84b423f5c2 (diff) | |
parent | dd4534d88b93a911983503851ec9441787a4997d (diff) |
Merge tag 'v4.4.52' into linux-linaro-lsk-v4.4
This is the 4.4.52 stable release
Diffstat (limited to 'net/llc/llc_sap.c')
-rw-r--r-- | net/llc/llc_sap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/llc/llc_sap.c b/net/llc/llc_sap.c index d0e1e804ebd7..5404d0d195cc 100644 --- a/net/llc/llc_sap.c +++ b/net/llc/llc_sap.c @@ -290,7 +290,10 @@ static void llc_sap_rcv(struct llc_sap *sap, struct sk_buff *skb, ev->type = LLC_SAP_EV_TYPE_PDU; ev->reason = 0; + skb_orphan(skb); + sock_hold(sk); skb->sk = sk; + skb->destructor = sock_efree; llc_sap_state_process(sap, skb); } |