[RTNETLINK]: Possible dereference in net/core/rtnetlink.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 27 Sep 2006 06:26:38 +0000 (23:26 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:23 +0000 (18:01 -0700)
commit9918f230969bdaf3df012b77abcbcd4cdb0ab221
tree8cad5227f352a2a0756b2978339eff4b0a5ba0cb
parent753ed90d92009260616f6402aafa7ee47e03b162
[RTNETLINK]: Possible dereference in net/core/rtnetlink.c

another possible dereference spotted by coverity (#cid 1390).
if the nlmsg_parse() call fails, we goto errout, where we call
dev_put(), with dev still initialized to NULL.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c