connector: fix skb double free in cn_rx_skb()
When a skb is delivered to a registered callback, cn_call_callback() incorrectly returns -ENODEV after freeing the skb, causing cn_rx_skb() to free the skb a second time. Reported-by: NEric B Munson <emunson@mgebm.net> Signed-off-by: NPatrick McHardy <kaber@trash.net> Tested-by: NEric B Munson <emunson@mgebm.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录