]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipaddress.c
No need to initialize rtattr fields before parsing
authorPhil Sutter <phil@nwl.cc>
Mon, 18 Jul 2016 14:48:44 +0000 (16:48 +0200)
committerStephen Hemminger <shemming@brocade.com>
Wed, 20 Jul 2016 19:05:24 +0000 (12:05 -0700)
commit30a8842c4971f4215733bc1a8ddc4b8315edb99b
treef9df585ce4787b6990d0701689c0c455920a9d1f
parentf89bb0210fcf7bc52f9bc743bbc92c811b1f578a
No need to initialize rtattr fields before parsing

Since parse_rtattr_flags() calls memset already, there is no need for
callers to do so themselves.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
ip/ipaddress.c
tc/tc_class.c