From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: manual merge of the net tree with Linus' tree Date: Fri, 22 Oct 2010 12:19:43 +1100 Message-ID: <20101022121943.120aa4f2.sfr@au1.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: David Miller , netdev@vger.kernel.org Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Koki Sanagi , Frederic Weisbecker , Jesse Gross List-Id: linux-next.vger.kernel.org Hi all, Today's linux-next merge of the net tree got a conflict in net/core/dev.c between commit cf66ba58b5cb8b1526e9dd2fb96ff8db048d4d44 ("netdev: Add tracepoints to netdev layer") from Linus' tree and commits 05532121da0728eaedac2a0a5c3cecad3a95d765 ("net: 802.1q: make vlan_hwaccel_do_receive() return void") and 3701e51382a026cba10c60b03efabe534fba4ca4 ("vlan: Centralize handling of hardware acceleration") from the net tree. Just context changes. I fixed it up (see below) and can carry the fix as necessary. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au diff --cc net/core/dev.c index 154e25e,6d4218c..0000000 --- a/net/core/dev.c +++ b/net/core/dev.c @@@ -128,9 -128,8 +128,10 @@@ #include #include #include +#include +#include #include + #include #include "net-sysfs.h" @@@ -2835,10 -2898,6 +2905,8 @@@ static int __netif_receive_skb(struct s if (!netdev_tstamp_prequeue) net_timestamp_check(skb); + trace_netif_receive_skb(skb); - if (vlan_tx_tag_present(skb) && vlan_hwaccel_do_receive(skb)) - return NET_RX_SUCCESS; + /* if we've gotten here through NAPI, check netpoll */ if (netpoll_receive_skb(skb)) return NET_RX_DROP;