diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2016-04-28 11:59:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-29 16:13:36 -0400 |
commit | f4b05d27ec6b032ca504591e2a157b058b6f172f (patch) | |
tree | acbd391cef14730a0517d726489eaf17ab815f99 /include/linux/netdevice.h | |
parent | 92aff96ac315a713b14c7e4f7b2e84fb3dc9ce16 (diff) |
net: constify is_skb_forwardable's arguments
is_skb_forwardable is not supposed to change anything so constify its
arguments
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 934ca866562d..52914a854386 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -3264,7 +3264,8 @@ struct sk_buff *dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev, | |||
3264 | struct netdev_queue *txq, int *ret); | 3264 | struct netdev_queue *txq, int *ret); |
3265 | int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb); | 3265 | int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb); |
3266 | int dev_forward_skb(struct net_device *dev, struct sk_buff *skb); | 3266 | int dev_forward_skb(struct net_device *dev, struct sk_buff *skb); |
3267 | bool is_skb_forwardable(struct net_device *dev, struct sk_buff *skb); | 3267 | bool is_skb_forwardable(const struct net_device *dev, |
3268 | const struct sk_buff *skb); | ||
3268 | 3269 | ||
3269 | extern int netdev_budget; | 3270 | extern int netdev_budget; |
3270 | 3271 | ||