]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fix git merge: vlan: allow nested vlan_do_receive()
authorMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 3 Apr 2012 00:16:37 +0000 (17:16 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 3 Apr 2012 00:16:37 +0000 (17:16 -0700)
Git commit was not cleanly cherry-picked but this changes
are under ifdef so build did not fail on that. Fix it now.
Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
include/linux/if_vlan.h

index e57c19fe0f8bb7f887aae96c4ac838e1d7471928..1404f6a4b1e020da94d64e968f0c778067be6acb 100644 (file)
@@ -164,7 +164,6 @@ static inline u16 vlan_dev_vlan_id(const struct net_device *dev)
        return 0;
 }
 
-<<<<<<< HEAD
 static inline int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp,
                                    u16 vlan_tci, int polling)
 {
@@ -172,10 +171,7 @@ static inline int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp,
        return NET_XMIT_SUCCESS;
 }
 
-static inline bool vlan_do_receive(struct sk_buff **skb)
-=======
 static inline bool vlan_do_receive(struct sk_buff **skb, bool last_handler)
->>>>>>> 6a32e4f... vlan: allow nested vlan_do_receive()
 {
        if (((*skb)->vlan_tci & VLAN_VID_MASK) && last_handler)
                (*skb)->pkt_type = PACKET_OTHERHOST;