[LLC] add missing kfree_skb in llc_conn_state_process

This one fixes a skb leak in disconnection notification.
parent 221fc775
......@@ -109,6 +109,7 @@ int llc_conn_state_process(struct sock *sk, struct sk_buff *skb)
sk->dead = 1;
}
}
kfree_skb(skb);
sock_put(sk);
break;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment