]> git.karo-electronics.de Git - linux-beck.git/commit
ipv6: ip6_route_output does not modify sk parameter, so make it const
authorFlorian Westphal <fw@strlen.de>
Wed, 23 Mar 2011 02:17:36 +0000 (19:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Mar 2011 02:17:36 +0000 (19:17 -0700)
commit9c7a4f9ce651383c73dfdff3d7e21d5f9572c4ec
tree5286988a4c78be842ea164c24e1acf932d19b4a0
parentdb138908ccff404b9920f18f6244f4bff2368c04
ipv6: ip6_route_output does not modify sk parameter, so make it const

This avoids explicit cast to avoid 'discards qualifiers'
compiler warning in a netfilter patch that i've been working on.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_route.h
net/ipv6/route.c