From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Subject: Re: [PATCH net-next-2.6 v5] can: Unify droping of invalid tx skbs and netdev stats Date: Tue, 12 Jan 2010 10:57:52 +0100 Message-ID: <4B4C47A0.6020304@grandegger.com> References: <4B4C420C.1040308@hartkopp.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: SocketCAN Core Mailing List , Linux Netdev List , Marc Kleine-Budde , David Miller To: Oliver Hartkopp Return-path: In-Reply-To: <4B4C420C.1040308-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org Oliver Hartkopp wrote: > To prevent the CAN drivers to operate on invalid socketbuffers the skbs are > now checked and silently dropped at the xmit-function consistently. > > Also the netdev stats are consistently using the CAN data length code (dlc) > for [rx|tx]_bytes now. > > Signed-off-by: Oliver Hartkopp Acked-by: Wolfgang Grandegger