diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-09-20 20:29:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-21 19:43:52 +0200 |
commit | f950c0ecc78f745e490d615280e031de4dbb1306 (patch) | |
tree | 7c3605b8ac3f8066bba52407c505fc83b3f338e8 /lib | |
parent | bnx2x: remove false warning regarding interrupt number (diff) | |
download | linux-f950c0ecc78f745e490d615280e031de4dbb1306.tar.xz linux-f950c0ecc78f745e490d615280e031de4dbb1306.zip |
ipv6: fix return value check in fib6_add()
In case of error, the function fib6_add_1() returns ERR_PTR()
or NULL pointer. The ERR_PTR() case check is missing in fib6_add().
dpatch engine is used to generated this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions