diff options
| author | 2021-12-24 12:46:40 +0100 | |
|---|---|---|
| committer | 2021-12-27 12:31:57 +0000 | |
| commit | fd3a459000557ff12c1d4b41f1bd30f439f6c942 (patch) | |
| tree | 8da15578c3188e8615df88dc7d56cf812d72ceb0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | net: ethernet: ti: davinci_emac: Use platform_get_irq() to get the interrupt (diff) | |
| download | linux-dev-fd3a459000557ff12c1d4b41f1bd30f439f6c942.tar.xz linux-dev-fd3a459000557ff12c1d4b41f1bd30f439f6c942.zip | |
net: bridge: Get SIOCGIFBR/SIOCSIFBR ioctl working in compat mode
In compat mode SIOC{G,S}IFBR ioctls were only supporting
BRCTL_GET_VERSION returning an artificially version to spur userland
tool to use SIOCDEVPRIVATE instead. But some userland tools ignore that
and use SIOC{G,S}IFBR unconditionally as seen with busybox's brctl.
Example of non working 32-bit brctl with CONFIG_COMPAT=y:
$ brctl show
brctl: SIOCGIFBR: Invalid argument
Example of fixed 32-bit brctl with CONFIG_COMPAT=y:
$ brctl show
bridge name bridge id STP enabled interfaces
br0
Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Co-developed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
