]> git.karo-electronics.de Git - linux-beck.git/commit
net/sock: add an explicit sk argument for ip_cmsg_recv_offset()
authorPaolo Abeni <pabeni@redhat.com>
Fri, 4 Nov 2016 10:28:58 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2016 18:24:41 +0000 (13:24 -0500)
commitad959036a70890bea121403c6a4e373dff5b7311
tree4723d6b548ceb3eb57cc6d7262533103b1ff8201
parentcd2c0f454039ad303b54653c56ebc22ffd856200
net/sock: add an explicit sk argument for ip_cmsg_recv_offset()

So that we can use it even after orphaining the skbuff.

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/ip_sockglue.c
net/ipv4/udp.c
net/ipv6/udp.c