inet: constify ip_route_output_flow() socket argument
authorEric Dumazet <edumazet@google.com>
Fri, 25 Sep 2015 14:39:10 +0000 (07:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 20:00:37 +0000 (13:00 -0700)
commit6f9c961546699ff8bc5e1c1c52200616867ec68a
treebbc0ff11d4654d58f95dd667cdb0b560eadc2b00
parentb1964b5fce389a5660139ca39c25ff294da07b4f
inet: constify ip_route_output_flow() socket argument

Very soon, TCP stack might call inet_csk_route_req(), which
calls inet_csk_route_req() with an unlocked listener socket,
so we need to make sure ip_route_output_flow() is not trying to
change any field from its socket argument.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
include/net/route.h
net/ipv4/route.c
net/xfrm/xfrm_policy.c