[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130118.141506.2118336604190817703.davem@davemloft.net>
Date: Fri, 18 Jan 2013 14:15:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: robherring2@...il.com
Cc: netdev@...r.kernel.org, rob.herring@...xeda.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: calxedaxgmac: throw away overrun frames
From: Rob Herring <robherring2@...il.com>
Date: Wed, 16 Jan 2013 17:36:37 -0600
> From: Rob Herring <rob.herring@...xeda.com>
>
> The xgmac driver assumes 1 frame per descriptor. If a frame larger than
> the descriptor's buffer size is received, the frame will spill over into
> the next descriptor. So check for received frames that span more than one
> descriptor and discard them. This prevents a crash if we receive erroneous
> large packets.
>
> Signed-off-by: Rob Herring <rob.herring@...xeda.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists