summaryrefslogtreecommitdiff
path: root/mm/list_lru.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2019-04-25 12:06:54 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-05 14:42:37 +0200
commitf78ec0cd0664cc1455caf0c18f3e7954ccce5e17 (patch)
tree99a5de5638264852d09cda827b79bbc59b10aafc /mm/list_lru.c
parent39eddbb7cab34ef3886c900b79ad16339103db9e (diff)
downloadlinux-rpi3-f78ec0cd0664cc1455caf0c18f3e7954ccce5e17.tar.gz
linux-rpi3-f78ec0cd0664cc1455caf0c18f3e7954ccce5e17.tar.bz2
linux-rpi3-f78ec0cd0664cc1455caf0c18f3e7954ccce5e17.zip
ipv6: invert flowlabel sharing check in process and user mode
[ Upstream commit 95c169251bf734aa555a1e8043e4d88ec97a04ec ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/list_lru.c')
0 files changed, 0 insertions, 0 deletions