aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_policy.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-10-07 16:48:36 -0500
committerDavid S. Miller <davem@davemloft.net>2015-10-08 04:26:55 -0700
commit4ebdfba73c09d8568d891bae87c40fad43dd7f41 (patch)
treef90cbfbed25de48ec9972d9b294cdcd856f05a12 /net/ipv4/xfrm4_policy.c
parentnet: Pass net into dst_output and remove dst_output_okfn (diff)
downloadlinux-dev-4ebdfba73c09d8568d891bae87c40fad43dd7f41.tar.xz
linux-dev-4ebdfba73c09d8568d891bae87c40fad43dd7f41.zip
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>
Diffstat (limited to '')
-rw-r--r--net/ipv4/xfrm4_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c
index f2606b9056bb..d46d99f9cabd 100644
--- a/net/ipv4/xfrm4_policy.c
+++ b/net/ipv4/xfrm4_policy.c
@@ -243,7 +243,7 @@ static struct dst_ops xfrm4_dst_ops = {
.cow_metrics = dst_cow_metrics_generic,
.destroy = xfrm4_dst_destroy,
.ifdown = xfrm4_dst_ifdown,
- .local_out = __ip_local_out,
+ .local_out = __ip_local_out_sk,
.gc_thresh = 32768,
};