Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369351
b: refs/heads/master
c: 9fae27b
h: refs/heads/master
i:
  369349: e855715
  369347: 90eec76
  369343: 9bc9783
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Apr 21, 2013
1 parent c25d591 commit 7a7a892
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf2c014adef10c75af7042f38e74adb91d7bff6c
refs/heads/master: 9fae27b33785cb6350f21449073d9f7d1a2bbfd6
7 changes: 4 additions & 3 deletions trunk/include/linux/if_vlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ extern void vlan_vids_del_by_dev(struct net_device *dev,
extern bool vlan_uses_dev(const struct net_device *dev);
#else
static inline struct net_device *
__vlan_find_dev_deep(struct net_device *real_dev, u16 vlan_id)
__vlan_find_dev_deep(struct net_device *real_dev,
__be16 vlan_proto, u16 vlan_id)
{
return NULL;
}
Expand All @@ -131,12 +132,12 @@ static inline struct sk_buff *vlan_untag(struct sk_buff *skb)
return skb;
}

static inline int vlan_vid_add(struct net_device *dev, unsigned short vid)
static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid)
{
return 0;
}

static inline void vlan_vid_del(struct net_device *dev, unsigned short vid)
static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid)
{
}

Expand Down

0 comments on commit 7a7a892

Please sign in to comment.