]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ping6: support setting socket options via cmsg
authorJakub Kicinski <kuba@kernel.org>
Thu, 10 Feb 2022 00:36:41 +0000 (16:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Feb 2022 15:04:51 +0000 (15:04 +0000)
commit3ebb0b1032e55614672af10c491302018bf34fd4
treee70a5aff547f86325b20470e09d632315f867955
parente7b060460f29c31a550cb563819c69f2b1cb7b10
net: ping6: support setting socket options via cmsg

Minor reordering of the code and a call to sock_cmsg_send()
gives us support for setting the common socket options via
cmsg (the usual ones - SO_MARK, SO_TIMESTAMPING_OLD, SCM_TXTIME).

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ping.c