mirror_iproute2/bridge
David Ahern 05880354c2 bridge: fdb: Fix filtering with strict checking disabled
Older kernels expect an ifinfomsg struct as the ancillary header, and
after kernel commit bd961c9bc664 ("rtnetlink: fix rtnl_fdb_dump() for ndmsg
header") can handle either ifinfomsg or ndmsg. Strict data checking only
allows ndmsg.

Use the new RTNL_HANDLE_F_STRICT_CHK flag to know which header to send.

Signed-off-by: David Ahern <dsahern@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
2019-01-04 12:17:19 -08:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
br_common.h Tree wide: Drop sockaddr_nl arg 2018-10-22 09:43:48 -07:00
bridge.c ip bridge: Set NETLINK_GET_STRICT_CHK on socket 2018-12-27 15:36:29 -08:00
fdb.c bridge: fdb: Fix filtering with strict checking disabled 2019-01-04 12:17:19 -08:00
link.c fix print_0xhex on 32 bit 2018-12-10 14:20:32 -08:00
Makefile SPDX license identifiers 2017-11-24 12:21:35 -08:00
mdb.c Tree wide: Drop sockaddr_nl arg 2018-10-22 09:43:48 -07:00
monitor.c bridge: make local variables static 2018-11-19 11:42:44 -08:00
vlan.c bridge: fix vlan show stats formatting 2018-10-29 09:58:03 -07:00