ipv6/flowlabel: simplify pid namespace lookup
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Apr 2018 08:01:30 +0000 (10:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:24:22 +0000 (07:24 +0200)
commitad08978ab41c38edb9c162ba5e3ebc30f69191d6
tree5b6d882d1e4b73846f8958bf52eb611671b581d1
parent93cb5a1f5851ab1a0b4be735c40130898a64b812
ipv6/flowlabel: simplify pid namespace lookup

The code should be using the pid namespace from the procfs mount
instead of trying to look it up during open.

Suggested-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
net/ipv6/ip6_flowlabel.c