2018-03-02 15:45 GMT+01:00 Alexander Bluhm <alexander.bl...@gmx.net>: > On Fri, Mar 02, 2018 at 02:25:21PM +0100, Pierre Emeriaud wrote: >> panic: netlock: lock not held > >> ifpromisc(ffff800021f85400,ffff8000005ae000) at ifpromisc+0xb3 >> bpfioctl(ffffff027eb5fc18,ffffff027eb5fc18,ffffff02414ac4a0,20004269,ffffff02414ac4a0) >> at bpfioctl+0x53c > > I would say this is a missing netlock around ifpromisc() in bpfioctl(). > And in the bpfclose() path it is also missing.
This seems to fix the issue. I'm not panic'ing anymore when using tcpdump. Thanks!