summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevic@redhat.com>2014-03-27 17:32:29 -0400
committerDavid S. Miller <davem@davemloft.net>2014-03-31 16:04:04 -0400
commit1ee481fb4cf8044632fa869bafc41345afa5957b (patch)
tree6156a9253fdc682015bc87c4d21be785a4ba39ae /include
parent9109e17f7c3ace48629397b44db5ce06bf168644 (diff)
downloadlinux-stable-1ee481fb4cf8044632fa869bafc41345afa5957b.tar.gz
linux-stable-1ee481fb4cf8044632fa869bafc41345afa5957b.tar.bz2
linux-stable-1ee481fb4cf8044632fa869bafc41345afa5957b.zip
net: Allow modules to use is_skb_forwardable
Signed-off-by: Vlad Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 06287c110241..29b579fb5196 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2629,6 +2629,7 @@ int dev_get_phys_port_id(struct net_device *dev,
int dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev,
struct netdev_queue *txq);
int dev_forward_skb(struct net_device *dev, struct sk_buff *skb);
+bool is_skb_forwardable(struct net_device *dev, struct sk_buff *skb);
extern int netdev_budget;