summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2019-04-25 12:06:54 -0400
committerDavid S. Miller <davem@davemloft.net>2019-04-29 18:22:56 -0400
commit95c169251bf734aa555a1e8043e4d88ec97a04ec (patch)
tree9fb129a84de34397caabc0694dc1c2e6f953c7fc /net/ipv4
parent6ee12b7b15e0b7890c196498d4207426cf47a2cb (diff)
ipv6: invert flowlabel sharing check in process and user mode
A request for a flowlabel fails in process or user exclusive mode must fail if the caller pid or uid does not match. Invert the test. Previously, the test was unsafe wrt PID recycling, but indeed tested for inequality: fl1->owner != fl->owner Fixes: 4f82f45730c68 ("net ip6 flowlabel: Make owner a union of struct pid* and kuid_t") Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions