]> git.baikalelectronics.ru Git - kernel.git/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)
commitf3f03447fe3650b1f3a6ae582e86b0383a2d2e44
treed06f567aabf247fd379a66177de5163299bc81d7
parent1a009ac139bf9f5d1661bcfc6a06432febd66575
[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