Skip to contentSkip to conversation

linux-next: manual merge of the net tree with Linus' tree

DISCUSSION Stephen Rothwell 1 participant 1 message Oct 22, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 29 lines
Cheers,
Stephen Rothwell                    [email protected]

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 <linux/jhash.h>
  #include <linux/random.h>
  #include <trace/events/napi.h>
 +#include <trace/events/net.h>
 +#include <trace/events/skb.h>
  #include <linux/pci.h>
+ #include <linux/inetdevice.h>
  
  #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;