Return-path: Received: from mail-wg0-f51.google.com ([74.125.82.51]:60239 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756326Ab3HFTrE (ORCPT ); Tue, 6 Aug 2013 15:47:04 -0400 MIME-Version: 1.0 Reply-To: sedat.dilek@gmail.com In-Reply-To: References: <1375797260.8219.21.camel@jlt4.sipsolutions.net> <1375800617.8219.23.camel@jlt4.sipsolutions.net> <1375801059.8219.24.camel@jlt4.sipsolutions.net> <1375802297.8219.25.camel@jlt4.sipsolutions.net> <1375802993.8219.26.camel@jlt4.sipsolutions.net> <1375804998.8219.27.camel@jlt4.sipsolutions.net> <1375816128.8219.28.camel@jlt4.sipsolutions.net> <1375816715.8219.29.camel@jlt4.sipsolutions.net> Date: Tue, 6 Aug 2013 21:47:01 +0200 Message-ID: (sfid-20130806_214727_880508_5A160AD0) Subject: Re: linux-next: Tree for Aug 6 [ wireless | iwlwifi | mac80211 ? ] From: Sedat Dilek To: Johannes Berg , Phil Sutter Cc: David Miller , Stephen Rothwell , wireless , netdev@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Aug 6, 2013 at 9:32 PM, Sedat Dilek wrote: > On Tue, Aug 6, 2013 at 9:18 PM, Johannes Berg wrote: >> On Tue, 2013-08-06 at 21:14 +0200, Sedat Dilek wrote: >>> On Tue, Aug 6, 2013 at 9:08 PM, Johannes Berg wrote: >>> > On Tue, 2013-08-06 at 20:35 +0200, Sedat Dilek wrote: >>> > >>> >> Attached is a diff comparing all new commits in next-20130805. >>> >> If one of the commits smells bad to you, please let me know. >>> > >>> > Out of that list, only the af_packet changes would seem to have any >>> > impact on wireless at all. >>> > >>> >>> git-bisecting... 2 steps to go... >>> >>> This one is bad... "af_packet: simplify VLAN frame check in packet_snd" >>> >>> http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=c483e02614551e44ced3fe6eedda8e36d3277ccc >> >> That seems weird, does reverting it fix it? >> > > [ TO Phil Sutter ] > > This was 3/3 of af_packet patches :-). > > So, the culprit commit is... > > 0f75b09c798ed00c30d7d5551b896be883bc2aeb is the first bad commit > commit 0f75b09c798ed00c30d7d5551b896be883bc2aeb > Author: Phil Sutter > Date: Fri Aug 2 11:37:39 2013 +0200 > > af_packet: when sending ethernet frames, parse header for skb->protocol > > This may be necessary when the SKB is passed to other layers on the go, > which check the protocol field on their own. An example is a VLAN packet > sent out using AF_PACKET on a bridge interface. The bridging code checks > the SKB size, accounting for any VLAN header only if the protocol field > is set accordingly. > > Note that eth_type_trans() sets skb->dev to the passed argument, so this > can be skipped in packet_snd() for ethernet frames, as well. > > Signed-off-by: Phil Sutter > Signed-off-by: David S. Miller > > :040000 040000 af403a20a321517f6cfb51d2e22c17ca5a60e947 > 1f302ebd62a87b9e874a3e61203499e17d6fce3c M net > > - Sedat - [ net/packet/af_packet.c ] ... #include $ find include/ -name if_arp.h include/uapi/linux/if_arp.h include/linux/if_arp.h $ LC_ALL=C ll include/uapi/linux/if_arp.h include/linux/if_arp.h -rw-r--r-- 1 wearefam wearefam 1560 Jul 11 19:42 include/linux/if_arp.h -rw-r--r-- 1 wearefam wearefam 6344 Jul 26 12:36 include/uapi/linux/if_arp.h $ grep ARPHRD_ETHER include/linux/if_arp.h include/uapi/linux/if_arp.h include/uapi/linux/if_arp.h:#define ARPHRD_ETHER 1 /* Ethernet 10Mbps */ Wrong include? - Sedat -