2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-07 13:40:45 +00:00
Files
openvswitch/datapath/linux/compat/skbuff-openvswitch.c
Pravin B Shelar 237c4f2a01 datapath: Remove checksum compat support
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
2013-09-06 09:51:35 -07:00

17 lines
373 B
C

#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#if !defined(HAVE_SKB_WARN_LRO) && defined(NETIF_F_LRO)
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
void __skb_warn_lro_forwarding(const struct sk_buff *skb)
{
if (net_ratelimit())
pr_warn("%s: received packets cannot be forwarded while LRO is enabled\n",
skb->dev->name);
}
#endif