]> git.baikalelectronics.ru Git - kernel.git/commit
net/dst: Make skb parameter of skb{metadata_dst, tunnel_info}() const
authorSimon Horman <simon.horman@netronome.com>
Mon, 2 Oct 2017 08:41:15 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 18:06:07 +0000 (11:06 -0700)
commitd335140a4c5f878384cce0c9c49772e4fdef8c2b
treea7a825f893b53a374e9543ea942bfd4022461a1b
parent6fbe7700d0859a0669145caa64c959155545ecab
net/dst: Make skb parameter of skb{metadata_dst, tunnel_info}() const

Make the skb parameter of skb_metadata_dst() and skb_tunnel_info()
const as they are not modified. This is in preparation for using
them in call-sites where skb is const.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst_metadata.h