dst: Pass a sk into .local_out
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 7 Oct 2015 21:48:36 +0000 (16:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Oct 2015 11:26:55 +0000 (04:26 -0700)
commit4ebdfba73c09d8568d891bae87c40fad43dd7f41
treef90cbfbed25de48ec9972d9b294cdcd856f05a12
parent13206b6bff3b15b724926a222406476bf2c23c40
dst: Pass a sk into .local_out

For consistency with the other similar methods in the kernel pass a
struct sock into the dst_ops .local_out method.

Simplifying the socket passing case is needed a prequel to passing a
struct net reference into .local_out.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c
include/net/dst_ops.h
include/net/ip.h
include/net/ipv6.h
net/ipv4/ip_output.c
net/ipv4/route.c
net/ipv4/xfrm4_policy.c
net/ipv6/output_core.c
net/ipv6/route.c
net/ipv6/xfrm6_policy.c
net/xfrm/xfrm_output.c