net: fixes for skb_send_sock
authorJohn Fastabend <john.fastabend@gmail.com>
Wed, 16 Aug 2017 05:31:34 +0000 (22:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 18:27:52 +0000 (11:27 -0700)
commitdb5980d804d7158917ad4b9186c78b2a3f1db4ef
tree18ebf25156a017b2c11d0928aa4b9a4cafaae821
parent45f91bdcd5c5ba559a4bb7c3a0e0709476cf570f
net: fixes for skb_send_sock

A couple fixes to new skb_send_sock infrastructure. However, no users
currently exist for this code (adding user in next handful of patches)
so it should not be possible to trigger a panic with existing in-kernel
code.

Fixes: 306b13eb3cf9 ("proto_ops: Add locked held versions of sendmsg and sendpage")
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
net/socket.c