]> git.baikalelectronics.ru Git - kernel.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)
commitae33a4dadb036d324c9dff9c372881c13c7da1d8
tree4723d6b548ceb3eb57cc6d7262533103b1ff8201
parent425faa8556efcdb55dc5c7a22ecd3d5d62afca6b
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