Re: [PATCH net] ipv6: invert flowlabel sharing check in process and user mode

2019-04-29 Thread David Miller
From: Willem de Bruijn Date: Thu, 25 Apr 2019 12:06:54 -0400 > From: Willem de Bruijn > > 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 te

[PATCH net] ipv6: invert flowlabel sharing check in process and user mode

2019-04-25 Thread Willem de Bruijn
From: Willem de Bruijn 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 ip