]> git.ipfire.org Git - thirdparty/hostap.git/commit
vlan: Use new bridge ioctl()
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 21 Nov 2017 20:14:45 +0000 (23:14 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 1 Jan 2019 22:23:43 +0000 (00:23 +0200)
commitfb60dbdcec426d332e46bd4cd953a211c6d94569
tree07422ec3280316251ff727ef5c70f48738fd05ec
parentcc58a35735761c39a826bd0f29c21fb5b53c22db
vlan: Use new bridge ioctl()

Legacy ioctl() through SIOCDEVPRIVATE are deprecated. Follow the
approach taken by bridge-utils and make use of new bridge ioctl's
whenever possible.

For example, using legacy ioctl() breaks dynamic VLAN mode on 32-bit
Linux systems running 64-bit kernels.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
src/ap/vlan_full.c
src/common/linux_bridge.h
src/drivers/linux_ioctl.c