Re: [PATCH net] udp: properly cope with csum errors

2017-02-06 Thread Paolo Abeni
On Sun, 2017-02-05 at 09:25 -0800, Eric Dumazet wrote: > From: Eric Dumazet > > Dmitry reported that UDP sockets being destroyed would trigger the > WARN_ON(atomic_read(&sk->sk_rmem_alloc)); in inet_sock_destruct() > > It turns out we do not properly destroy skb(s) that have wrong UDP > checksum

[PATCH net] udp: properly cope with csum errors

2017-02-05 Thread Eric Dumazet
From: Eric Dumazet Dmitry reported that UDP sockets being destroyed would trigger the WARN_ON(atomic_read(&sk->sk_rmem_alloc)); in inet_sock_destruct() It turns out we do not properly destroy skb(s) that have wrong UDP checksum. Thanks again to syzkaller team. Fixes : 7c13f97ffde6 ("udp: do fw