kernel_optimize_test/net/netrom
Cong Wang c8c8218ec5 netrom: fix a memory leak in nr_rx_frame()
When the skb is associated with a new sock, just assigning
it to skb->sk is not sufficient, we have to set its destructor
to free the sock properly too.

Reported-by: syzbot+d6636a36d3c34bd88938@syzkaller.appspotmail.com
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-01 19:00:52 -07:00
..
af_netrom.c
Makefile
nr_dev.c
nr_in.c
nr_loopback.c
nr_out.c
nr_route.c
nr_subr.c
nr_timer.c
sysctl_net_netrom.c