https://github.com/torvalds/linux
Revision 446266b0c742a2c9ee8f0dce759a0117bce58a86 authored by Daniel Borkmann on 02 August 2013, 09:32:43 UTC, committed by David S. Miller on 02 August 2013, 21:56:06 UTC
Commit 5c766d642 ("ipv4: introduce address lifetime") leaves the ifa
resource that was allocated via inet_alloc_ifa() unfreed when returning
the function with -EINVAL. Thus, free it first via inet_free_ifa().

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9bb8eeb
History
Tip revision: 446266b0c742a2c9ee8f0dce759a0117bce58a86 authored by Daniel Borkmann on 02 August 2013, 09:32:43 UTC
net: rtm_to_ifaddr: free ifa if ifa_cacheinfo processing fails
Tip revision: 446266b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.1 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 253.7 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top