]> err.no Git - linux-2.6/commit
[IPV4]: Fix issue reported by Coverity in ipv4/fib_frontend.c
authorJayachandran C <jchandra@digeo.com>
Thu, 27 Oct 2005 22:10:01 +0000 (15:10 -0700)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Sat, 29 Oct 2005 04:53:39 +0000 (02:53 -0200)
commit9fcc2e8a752f7d3d889114221b67c459557823e9
treed06f567aabf247fd379a66177de5163299bc81d7
parent360ac8e2f1a38c3497739636c3b702352d1ad0ae
[IPV4]: Fix issue reported by Coverity in ipv4/fib_frontend.c

fib_del_ifaddr() dereferences ifa->ifa_dev, so the code already assumes that
ifa->ifa_dev is non-NULL, the check is unnecessary.

Signed-off-by: Jayachandran C. <c.jayachandran at gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv4/fib_frontend.c