Re: [PATCH v2 net] packet: avoid panic in packet_getsockopt()

2017-10-20 Thread Eric Dumazet
On Fri, Oct 20, 2017 at 12:11 PM, kbuild test robot wrote: > Hi Eric, > > [auto build test WARNING on net/master] > > url: > https://github.com/0day-ci/linux/commits/Eric-Dumazet/packet-avoid-panic-in-packet_getsockopt/20171021-003615 > reproduce: > # apt-get install sparse > m

Re: [PATCH v2 net] packet: avoid panic in packet_getsockopt()

2017-10-20 Thread kbuild test robot
Hi Eric, [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Eric-Dumazet/packet-avoid-panic-in-packet_getsockopt/20171021-003615 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse

[PATCH v2 net] packet: avoid panic in packet_getsockopt()

2017-10-18 Thread Eric Dumazet
From: Eric Dumazet syzkaller got crashes in packet_getsockopt() processing PACKET_ROLLOVER_STATS command while another thread was managing to change po->rollover Using RCU will fix this bug. We might later add proper RCU annotations for sparse sake. In v2: I replaced kfree(rollover) in fanout_a