[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1513623248-7689-1-git-send-email-serhe.popovych@gmail.com>
Date: Mon, 18 Dec 2017 20:54:05 +0200
From: Serhey Popovych <serhe.popovych@...il.com>
To: netdev@...r.kernel.org
Subject: [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(-)
--
1.7.10.4
Powered by blists - more mailing lists