diff options
author | 2013-01-10 01:31:08 +0000 | |
---|---|---|
committer | 2013-01-10 14:26:43 -0800 | |
commit | 9d43a18c6e8f868111b983388feeedaea7594fef (patch) | |
tree | dd0785b9710e271f876eb72063c803ca13b69e74 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bnx2x: move debugging code before the return (diff) | |
download | linux-dev-9d43a18c6e8f868111b983388feeedaea7594fef.tar.xz linux-dev-9d43a18c6e8f868111b983388feeedaea7594fef.zip |
tun: avoid owner checks on IFF_ATTACH_QUEUE
At the moment, we check owner when we enable queue in tun.
This seems redundant and will break some valid uses
where fd is passed around: I think TUNSETOWNER is there
to prevent others from attaching to a persistent device not
owned by them. Here the fd is already attached,
enabling/disabling queue is more like read/write.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions