diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-10-07 16:48:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-08 04:26:52 -0700 |
commit | fd2874b3bbe832e90ac480971a7a8bd736b629b9 (patch) | |
tree | 33640db1c1474a00defca1b810fc2208de415309 /net/irda/irqueue.c | |
parent | e28383dd28afafefb0e445354c88f7b1e99aae9d (diff) | |
download | linux-stable-fd2874b3bbe832e90ac480971a7a8bd736b629b9.tar.gz linux-stable-fd2874b3bbe832e90ac480971a7a8bd736b629b9.tar.bz2 linux-stable-fd2874b3bbe832e90ac480971a7a8bd736b629b9.zip |
ipv4: Fix ip_local_out_sk by passing the sk into __ip_local_out_sk
In the rare case where sk != skb->sk ip_local_out_sk arranges
to call dst->output differently if the skb is queued or not.
This is a bug.
Fix this bug by passing the sk parameter of ip_local_out_sk through
from ip_local_out_sk to __ip_local_out_sk (skipping __ip_local_out).
Fixes: 7026b1ddb6b8 ("netfilter: Pass socket pointer down through okfn().")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irqueue.c')
0 files changed, 0 insertions, 0 deletions