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>
This commit is contained in:
committed by
David S. Miller
parent
92aff96ac3
commit
f4b05d27ec
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user