summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>2016-04-28 17:59:28 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-29 22:13:36 +0200
commitf4b05d27ec6b032ca504591e2a157b058b6f172f (patch)
treeacbd391cef14730a0517d726489eaf17ab815f99 /net
parentMerge branch 'ppp-rtnetlink' (diff)
downloadlinux-f4b05d27ec6b032ca504591e2a157b058b6f172f.tar.xz
linux-f4b05d27ec6b032ca504591e2a157b058b6f172f.zip
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 'net')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index c2f3d5dbde56..d91dfbec0fc6 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1741,7 +1741,7 @@ static inline void net_timestamp_set(struct sk_buff *skb)
__net_timestamp(SKB); \
} \
-bool is_skb_forwardable(struct net_device *dev, struct sk_buff *skb)
+bool is_skb_forwardable(const struct net_device *dev, const struct sk_buff *skb)
{
unsigned int len;