Improve iplink index, alias and name parameters handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iplink: Improve index parameter handlingip/ | +6 | 6 replies | |
| 2/3 | iplink: Process "alias" parameter correctlyip/ | +4 | 0 replies | |
| 3/3 | iplink: Kill redundant network device name checksip/ ip/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2 0/3] Improve iplink index, alias and name parameters handling
In this series I present following improvements:
1) Check index is greather than zero and forbid specifying it multiple times in iplink_parse(). Use 0 instead of -1 as special value in iplink_modify().
2) Do not stop parameters processing after alias given. Check alias length does not exceed IFALIASZ - 1.
3) Drop redundant name parameter length checks in iplink_vxcan.c and link_veth.c.
See individual patch description message for details.
Thanks,
Serhii
Serhey Popovych (3):
iplink: Improve index parameter handling
iplink: Process "alias" parameter correctly
iplink: Kill redundant network device name checks
ip/iplink.c | 21 ++++++++++----------- ip/iplink_vxcan.c | 8 +++----- ip/link_veth.c | 8 +++----- 3 files changed, 16 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.10.4