commit | 1f440c99d3207d684a3ac48d6e528af548b5c915 | [log] [tgz] |
---|---|---|
author | Huw Davies <huw@codeweavers.com> | Mon Jun 27 15:05:27 2016 -0400 |
committer | Paul Moore <paul@paul-moore.com> | Mon Jun 27 15:05:27 2016 -0400 |
tree | 9cbeedd54d1e5363d1ae012ce75e5bbb1fe0ffb3 | |
parent | ceba1832b1b2da0149c51de62a847c00bca1677a [diff] |
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>