summaryrefslogtreecommitdiffstats
path: root/net/irda/irlap.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-04-15 19:47:15 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-15 19:47:15 +0200
commitaad88724c9d54acb1a9737cb6069d8470fa85f74 (patch)
tree78cc7b925f3d05338373898f018892b8f434a948 /net/irda/irlap.c
parentipv4: add a sock pointer to ip_queue_xmit() (diff)
downloadlinux-aad88724c9d54acb1a9737cb6069d8470fa85f74.tar.xz
linux-aad88724c9d54acb1a9737cb6069d8470fa85f74.zip
ipv4: add a sock pointer to dst->output() path.
In the dst->output() path for ipv4, the code assumes the skb it has to transmit is attached to an inet socket, specifically via ip_mc_output() : The sk_mc_loop() test triggers a WARN_ON() when the provider of the packet is an AF_PACKET socket. The dst->output() method gets an additional 'struct sock *sk' parameter. This needs a cascade of changes so that this parameter can be propagated from vxlan to final consumer. Fixes: 8f646c922d55 ("vxlan: keep original skb ownership") Reported-by: lucien xin <lucien.xin@gmail.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irlap.c')
0 files changed, 0 insertions, 0 deletions