rtnetlink: a couple of fixes in linkmsg validation
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesApplied 3/3
- v13 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- not improve the multiple times validating in patch 1, and will do it in net-next, as Jakub suggested.
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rtnetlink: call validate_linkmsg in rtnl_create_linknet/ | +7 | 0 replies | Applied |
| 2/3 | rtnetlink: move IFLA_GSO_ tb check to validate_linkmsgnet/ | +19 | 0 replies | Applied |
| 3/3 | rtnetlink: add the missing IFLA_GRO_ tb check in validate_linkmsgnet/ | +12 | 0 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Simon Horman |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 net 0/3] rtnetlink: a couple of fixes in linkmsg validation
validate_linkmsg() was introduced to do linkmsg validation for existing links. However, the new created links also need this linkmsg validation.
Add validate_linkmsg() check for link creating in Patch 1, and add more tb checks into validate_linkmsg() in Patch 2 and 3.
v2:
- not improve the multiple times validating in patch 1, and will do it in net-next, as Jakub suggested.
Xin Long (3):
rtnetlink: call validate_linkmsg in rtnl_create_link
rtnetlink: move IFLA_GSO_ tb check to validate_linkmsg
rtnetlink: add the missing IFLA_GRO_ tb check in validate_linkmsg
net/core/rtnetlink.c | 54 +++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 16 deletions(-)
Signature · 1 line
2.39.1