]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc118b009a2cc8caf396927cedb93cef15482c77
tree5b6d882d1e4b73846f8958bf52eb611671b581d1
parentff5918b3fcb7ab710bdb98687f927855785a759f
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