bridge: report an oversized IFLA_AF_SPEC nest instead of truncating
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesIn review
- v22 patches 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rtnetlink: pass extack to ndo_bridge_getlink()drivers/ drivers/ drivers/ +10 more | +40 | 1 reply | |
| 2/2 | net: bridge: fail link info that does not fit in a netlink attributenet/ | +17 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net-next v3 0/2] bridge: report an oversized IFLA_AF_SPEC nest instead of truncating
Patch 1 adds extack to ndo_bridge_getlink(), patch 2 returns -E2BIG when the AF_SPEC nest, or the MST/CFM nest inside it, overflows nla_len.
v3: handle the MST and CFM nests too, use nla_nest_end_safe() (Nikolay)
v2: https://lore.kernel.org/netdev/[email protected]/
v1: https://lore.kernel.org/netdev/[email protected]/
Artem Lytkin (2):
rtnetlink: pass extack to ndo_bridge_getlink()
net: bridge: fail link info that does not fit in a netlink attribute
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +-- drivers/net/ethernet/emulex/benet/be_main.c | 4 +-- drivers/net/ethernet/intel/i40e/i40e_main.c | 6 ++-- drivers/net/ethernet/intel/ice/ice_main.c | 6 ++-- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 5 ++-- .../net/ethernet/mellanox/mlx5/core/en_main.c | 4 +-- .../ethernet/netronome/nfp/nfp_net_common.c | 4 +-- drivers/s390/net/qeth_l2_main.c | 4 +-- include/linux/netdevice.h | 5 ++-- include/linux/rtnetlink.h | 3 +- net/bridge/br_netlink.c | 28 +++++++++++++------ net/bridge/br_private.h | 2 +- net/core/rtnetlink.c | 18 +++++++----- 13 files changed, 57 insertions(+), 36 deletions(-)
base-commit: e3bfd25626b44b6fa61a13c17178922171d519ce
Signature · 1 line
2.43.0