diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2016-01-05 10:46:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-05 16:46:17 -0500 |
commit | ff62198553e43cdffa9d539f6165d3e83f8a42bc (patch) | |
tree | 12dd61853d73dcf5a457ed32b5d3c50f346f5544 /scripts/Makefile.clean | |
parent | c845acb324aa85a39650a14e7696982ceea75dc1 (diff) |
bridge: Only call /sbin/bridge-stp for the initial network namespace
[I stole this patch from Eric Biederman. He wrote:]
> There is no defined mechanism to pass network namespace information
> into /sbin/bridge-stp therefore don't even try to invoke it except
> for bridge devices in the initial network namespace.
>
> It is possible for unprivileged users to cause /sbin/bridge-stp to be
> invoked for any network device name which if /sbin/bridge-stp does not
> guard against unreasonable arguments or being invoked twice on the
> same network device could cause problems.
[Hannes: changed patch using netns_eq]
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.clean')
0 files changed, 0 insertions, 0 deletions