summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@avencall.com>2012-07-06 12:27:42 +0200
committerNoe Rubinstein <nrubinstein@avencall.com>2012-07-06 12:27:42 +0200
commita542bb6543ce087ec6f1be8b6dbb17672b4b2c81 (patch)
tree598240fc89048b2c8dbacfd4726bef8e2604fa4c
parent84ad878cbe3926e9ec5c1d664152d2ab450efcd9 (diff)
Fix compiling with 2.6.32
Uncomment netdev_alloc_skb_ip_align which was prolly commented out to enable build with 2.6.26
-rw-r--r--kcompat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/kcompat.h b/kcompat.h
index 1334816..a0b327c 100644
--- a/kcompat.h
+++ b/kcompat.h
@@ -12,7 +12,6 @@
#define netdev_for_each_mc_addr(mclist, dev) \
for (mclist = dev->mc_list; mclist; mclist = mclist->next)
-#if 0
static inline struct sk_buff *netdev_alloc_skb_ip_align(struct net_device *dev,
unsigned int length)
{
@@ -22,6 +21,5 @@ static inline struct sk_buff *netdev_alloc_skb_ip_align(struct net_device *dev,
skb_reserve(skb, NET_IP_ALIGN);
return skb;
}
-#endif
#endif