RE: [PATCH net] gianfar: prevent integer wrapping in the rx handler

2018-01-30 Thread Claudiu Manoil
net] gianfar: prevent integer wrapping in the rx handler > >From: Andy Spencer >Date: Thu, 25 Jan 2018 19:37:50 -0800 > >> When the frame check sequence (FCS) is split across the last two frames >> of a fragmented packet, part of the FCS gets counted twice, once when >>

Re: [PATCH net] gianfar: prevent integer wrapping in the rx handler

2018-01-29 Thread David Miller
From: Andy Spencer Date: Thu, 25 Jan 2018 19:37:50 -0800 > When the frame check sequence (FCS) is split across the last two frames > of a fragmented packet, part of the FCS gets counted twice, once when > subtracting the FCS, and again when subtracting the previously received > data. > > For exa