netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next-2.6] if_vlan.h: fix compile errors
@ 2011-04-13 10:32 Jeff Kirsher
  2011-04-13 10:57 ` Jiri Pirko
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Kirsher @ 2011-04-13 10:32 UTC (permalink / raw)
  To: davem; +Cc: Jeff Kirsher, netdev, jpirko

The following commit generates compile errors becuase vlan_untag was defined
multiple times.

    commit bcc6d47903612c3861201cc3a866fb604f26b8b2
    Author: Jiri Pirko <jpirko@redhat.com>
    Date:   Thu Apr 7 19:48:33 2011 +0000

    net: vlan: make non-hw-accel rx path similar to hw-accel

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
 include/linux/if_vlan.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index 998b299..546d9d3 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
@@ -174,7 +174,7 @@ static inline bool vlan_do_receive(struct sk_buff **skb)
 	return false;
 }
 
-inline struct sk_buff *vlan_untag(struct sk_buff *skb)
+static inline struct sk_buff *vlan_untag(struct sk_buff *skb)
 {
 	return skb;
 }
-- 
1.7.4.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-13 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 10:32 [net-next-2.6] if_vlan.h: fix compile errors Jeff Kirsher
2011-04-13 10:57 ` Jiri Pirko
2011-04-13 11:03   ` Jeff Kirsher
2011-04-13 17:46     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).