datapath: Add configure test for skb_warn_if_lro().
[sliver-openvswitch.git] / datapath / linux-2.6 / compat-2.6 / skbuff-openvswitch.c
1 #ifndef HAVE_SKB_WARN_LRO
2
3 #include <linux/netdevice.h>
4
5 void __skb_warn_lro_forwarding(const struct sk_buff *skb)
6 {
7         if (net_ratelimit())
8                 printk(KERN_WARNING "%s: received packets cannot be forwarded"
9                                     " while LRO is enabled\n", skb->dev->name);
10 }
11
12 #endif /* HAVE_SKB_WARN_LRO */