Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-08-12 Thread Alex Gartrell
Hey Gregory, On Sun, Aug 2, 2015 at 2:28 PM, Gregory Hoggarth gregory.hogga...@alliedtelesis.co.nz wrote: I will apply the new suggested patch, reverting previous patch, and test overnight and update tomorrow. Did this solve your problem? If not, would you mind sharing a repro? -- Alex

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-08-12 Thread Eric Dumazet
On Wed, 2015-08-12 at 09:13 -0700, Alex Gartrell wrote: Hey Gregory, On Sun, Aug 2, 2015 at 2:28 PM, Gregory Hoggarth gregory.hogga...@alliedtelesis.co.nz wrote: I will apply the new suggested patch, reverting previous patch, and test overnight and update tomorrow. Did this solve your

RE: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-08-02 Thread Gregory Hoggarth
, 31 July 2015 11:17 p.m. To: Gregory Hoggarth Cc: Shawn Bohrer; netdev@vger.kernel.org; alexgartr...@gmail.com Subject: Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4 On Fri, 2015-07-31 at 12:17 +0200, Eric Dumazet wrote: On Thu, 2015-07-30 at 22:29 +, Gregory Hoggarth wrote: Hi

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-31 Thread Eric Dumazet
On Fri, 2015-07-31 at 12:17 +0200, Eric Dumazet wrote: On Thu, 2015-07-30 at 22:29 +, Gregory Hoggarth wrote: Hi Eric, Thanks for the patch. I have put this into our code and we'll run our test over tonight and the weekend and report back on Monday. Thanks, Oh well, real fix

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-31 Thread Eric Dumazet
On Thu, 2015-07-30 at 22:29 +, Gregory Hoggarth wrote: Hi Eric, Thanks for the patch. I have put this into our code and we'll run our test over tonight and the weekend and report back on Monday. Thanks, Oh well, real fix will be : (Or at least test if DST_NOCACHE is set : those dst

RE: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-30 Thread Gregory Hoggarth
Hoggarth Cc: Shawn Bohrer; netdev@vger.kernel.org; alexgartr...@gmail.com Subject: Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4 On Thu, 2015-07-30 at 07:42 +0200, Eric Dumazet wrote: On Thu, 2015-07-30 at 01:41 +, Gregory Hoggarth wrote: Hi, My company has also started having what

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-29 Thread Gregory Hoggarth
Hi, My company has also started having what appears to be the same problem, since we upgraded our embedded system to linux kernel 3.16. I tried applying the suggested fix of READ_ONCE (and also had to add in the necessary code to compiler.h as 3.16 didn't have it) and unfortunately it did not

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-29 Thread Eric Dumazet
On Thu, 2015-07-30 at 07:42 +0200, Eric Dumazet wrote: On Thu, 2015-07-30 at 01:41 +, Gregory Hoggarth wrote: Hi, My company has also started having what appears to be the same problem, since we upgraded our embedded system to linux kernel 3.16. I tried applying the

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-29 Thread Eric Dumazet
On Thu, 2015-07-30 at 01:41 +, Gregory Hoggarth wrote: Hi, My company has also started having what appears to be the same problem, since we upgraded our embedded system to linux kernel 3.16. I tried applying the suggested fix of READ_ONCE (and also had to add in the necessary code

Re: Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-11 Thread Eric Dumazet
On Fri, 2015-07-10 at 13:31 -0700, Alex Gartrell wrote: Hey everyone, There's some kind of nasty condition in which sk_rx_dst points to an apparently garbage datastructure and it's blowing up in the early demux code because dst-ops is NULL. The packet in question was for bit torrent local

Panic with demuxed ipv4 multicast udp sockets on 4.0.4

2015-07-10 Thread Alex Gartrell
Hey everyone, There's some kind of nasty condition in which sk_rx_dst points to an apparently garbage datastructure and it's blowing up in the early demux code because dst-ops is NULL. The packet in question was for bit torrent local peer discovery