Re: [PATCH 1/1] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Eric Dumazet
On Wed, 2016-02-10 at 17:35 +0530, Maninder Singh wrote: > This Patch fixes below warning:- > WARNING: at net/packet/af_packet.c:xxx packet_sock_destruct > > There is following race between packet_rcv and packet_close > which keeps unfree packet in receive queue. > > CPU 1

[PATCH 1/1] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Maninder Singh
This Patch fixes below warning:- WARNING: at net/packet/af_packet.c:xxx packet_sock_destruct There is following race between packet_rcv and packet_close which keeps unfree packet in receive queue. CPU 1 CPU2 packet_rcv

Re: [PATCH 1/1] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Eric Dumazet
On Wed, 2016-02-10 at 17:35 +0530, Maninder Singh wrote: > This Patch fixes below warning:- > WARNING: at net/packet/af_packet.c:xxx packet_sock_destruct > > There is following race between packet_rcv and packet_close > which keeps unfree packet in receive queue. > > CPU 1

[PATCH 1/1] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Maninder Singh
This Patch fixes below warning:- WARNING: at net/packet/af_packet.c:xxx packet_sock_destruct There is following race between packet_rcv and packet_close which keeps unfree packet in receive queue. CPU 1 CPU2 packet_rcv