Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754667AbZL0DoT (ORCPT ); Sat, 26 Dec 2009 22:44:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754047AbZL0DoS (ORCPT ); Sat, 26 Dec 2009 22:44:18 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:34108 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753933AbZL0DoS (ORCPT ); Sat, 26 Dec 2009 22:44:18 -0500 Date: Sat, 26 Dec 2009 19:44:18 -0800 (PST) Message-Id: <20091226.194418.229766965.davem@davemloft.net> To: shemminger@linux-foundation.org Cc: mbreuer@majjas.com, akpm@linux-foundation.org, flyboy@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] sky2: make sure ethernet header is in transmit skb From: David Miller In-Reply-To: <20091226140544.5600b3d1@nehalam> References: <20091226095723.7ac82b18@nehalam> <4B367409.5060202@majjas.com> <20091226140544.5600b3d1@nehalam> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 646 Lines: 16 From: Stephen Hemminger Date: Sat, 26 Dec 2009 14:05:44 -0800 > Other drivers may have same problem, I really think this ought > to be done at higher level. I tend to agree with you, and I thought we had handled all cases. Let's simply make AF_PACKET linearize the link level header before sending things out to the transmit path. I can work on this if you want. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/