]> git.proxmox.com Git - mirror_iproute2.git/commit
iplink: Kill redundant network device name checks
authorSerhey Popovych <serhe.popovych@gmail.com>
Mon, 18 Dec 2017 18:54:08 +0000 (20:54 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 19 Dec 2017 16:12:41 +0000 (08:12 -0800)
commitdac9ff35ea302124f440c87c68b3dd896712e92a
tree6071232eaad9e80888405d39ff4d12987fa11578
parentf88becf35e087b184d9e667d51ff1e192c1236bc
iplink: Kill redundant network device name checks

Since commit 625df645b703 (Check user supplied interface name lengths)
iplink_parse() validates network device name using check_ifname()
helpers.

Remove redundant "name" length checks from iplink_parse() callers.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink_vxcan.c
ip/link_veth.c