On Tue, Aug 6, 2013 at 9:18 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Tue, 2013-08-06 at 21:14 +0200, Sedat Dilek wrote: >> On Tue, Aug 6, 2013 at 9:08 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> 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 <phil@xxxxxx> 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 <phil@xxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> :040000 040000 af403a20a321517f6cfb51d2e22c17ca5a60e947 1f302ebd62a87b9e874a3e61203499e17d6fce3c M net - Sedat -
git bisect start # good: [88825c70d47953e7f38b86fb2ef00623439217d0] Merge remote-tracking branch 'wireless/master' git bisect good 88825c70d47953e7f38b86fb2ef00623439217d0 # good: [3580d2439702fa29efcbce9e2bb1bceb2688d352] Merge remote-tracking branch 'slave-dma/next' git bisect good 3580d2439702fa29efcbce9e2bb1bceb2688d352 # good: [88825c70d47953e7f38b86fb2ef00623439217d0] Merge remote-tracking branch 'wireless/master' git bisect good 88825c70d47953e7f38b86fb2ef00623439217d0 # good: [3580d2439702fa29efcbce9e2bb1bceb2688d352] Merge remote-tracking branch 'slave-dma/next' git bisect good 3580d2439702fa29efcbce9e2bb1bceb2688d352 # good: [a594e4f8c31c400024293b2e97fc7d3faaae74da] Merge branch 'bond_rcu' git bisect good a594e4f8c31c400024293b2e97fc7d3faaae74da # bad: [7f84622b9ac741614e7d066f7e8511d054f513ec] Merge remote-tracking branch 'net-next/master' git bisect bad 7f84622b9ac741614e7d066f7e8511d054f513ec # bad: [c483e02614551e44ced3fe6eedda8e36d3277ccc] af_packet: simplify VLAN frame check in packet_snd git bisect bad c483e02614551e44ced3fe6eedda8e36d3277ccc # good: [e216975ad97cfcfc436789aa66d59a0e93f337f7] uapi: Convert some uses of 6 to ETH_ALEN git bisect good e216975ad97cfcfc436789aa66d59a0e93f337f7 # good: [ba5082c71476891623757956ebfc36040ac317e2] Merge branch 'eth_alen' git bisect good ba5082c71476891623757956ebfc36040ac317e2 # bad: [0f75b09c798ed00c30d7d5551b896be883bc2aeb] af_packet: when sending ethernet frames, parse header for skb->protocol git bisect bad 0f75b09c798ed00c30d7d5551b896be883bc2aeb # good: [d27fc78208b53ccdfd6a57d4ac44a459ca66806f] sctp: Don't lookup dst if transport dst is still valid git bisect good d27fc78208b53ccdfd6a57d4ac44a459ca66806f # first bad commit: [0f75b09c798ed00c30d7d5551b896be883bc2aeb] af_packet: when sending ethernet frames, parse header for skb->protocol
commit 0f75b09c798ed00c30d7d5551b896be883bc2aeb Author: Phil Sutter <phil@xxxxxx> 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 <phil@xxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>