summaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.c
diff options
context:
space:
mode:
authorHuw Davies2016-06-27 21:05:27 +0200
committerPaul Moore2016-06-27 21:05:27 +0200
commit1f440c99d3207d684a3ac48d6e528af548b5c915 (patch)
tree9cbeedd54d1e5363d1ae012ce75e5bbb1fe0ffb3 /net/dccp/ipv6.c
parentcalipso: Set the calipso socket label to match the secattr. (diff)
downloadkernel-qcow2-linux-1f440c99d3207d684a3ac48d6e528af548b5c915.tar.gz
kernel-qcow2-linux-1f440c99d3207d684a3ac48d6e528af548b5c915.tar.xz
kernel-qcow2-linux-1f440c99d3207d684a3ac48d6e528af548b5c915.zip
netlabel: Prevent setsockopt() from changing the hop-by-hop option.
If a socket has a netlabel in place then don't let setsockopt() alter the socket's IPv6 hop-by-hop option. This is in the same spirit as the existing check for IPv4. Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'net/dccp/ipv6.c')
0 files changed, 0 insertions, 0 deletions