summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-03-14 16:14:57 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-03-14 16:14:57 +0300
commit3e886b631e0684c689b8075778be505ae9ae7629 (patch)
tree78e2618f31ee06937370abb0f5545af2cb1e60ee
parentc5e859f1d3a4317f304366e5f083ef4ff7828e5d (diff)
downloadaccel-ppp-3e886b631e0684c689b8075778be505ae9ae7629.tar.gz
accel-ppp-3e886b631e0684c689b8075778be505ae9ae7629.zip
ipoe: fix compiling module for ubuntu kernels
-rw-r--r--drivers/ipoe/ipoe.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c
index 16787e93..910e7251 100644
--- a/drivers/ipoe/ipoe.c
+++ b/drivers/ipoe/ipoe.c
@@ -243,6 +243,11 @@ static int ipoe_check_interface(int ifindex)
return r;
}
+#ifndef u64_stats_fetch_begin_bh
+#define u64_stats_fetch_begin_bh u64_stats_fetch_begin_irq
+#define u64_stats_fetch_retry_bh u64_stats_fetch_retry_irq
+#endif
+
static int ipoe_do_nat(struct sk_buff *skb, __be32 new_addr, int to_peer)
{