]> git.proxmox.com Git - mirror_iproute2.git/commit
Refactor ipaddr_list_or_flush
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 13 Jul 2012 20:36:07 +0000 (13:36 -0700)
committerStephen Hemminger <shemminger@vyatta.com>
Fri, 13 Jul 2012 20:37:50 +0000 (13:37 -0700)
commit8d07e5f7d995171ee8834eae268e300560de5d4f
tree3e5f87186f6352a25c8b60a44731801b14213efc
parent524de0272859318d7aefb6ad6a9da358efc1479f
Refactor ipaddr_list_or_flush

Alternative solution to problem reported by Pravin B Shelar <pshelar@nicira.com>
Split large function ipaddr_list_or_flush into components.
Fix memory leak of address and link nlmsg info.
Avoid fetching address info if only flushing.
ip/ipaddress.c