diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-12-29 01:28:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-30 23:31:17 +0300 |
commit | 178fe94405bffbd1acd83b6ff3b40211185ae9c9 (patch) | |
tree | 5bf754505050aa872b3882ae3601844db628c086 /drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.h | |
parent | f989d03ef25df3fc26d3ea0fe7c19c9830577166 (diff) | |
download | linux-178fe94405bffbd1acd83b6ff3b40211185ae9c9.tar.xz |
net/ipv6: Fix a test against 'ipv6_find_idev()' return value
'ipv6_find_idev()' returns NULL on error, not an error pointer.
Update the test accordingly and return -ENOBUFS, as already done in
'addrconf_add_dev()', if NULL is returned.
Fixes: ("ipv6: allow userspace to add IFA_F_OPTIMISTIC addresses")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.h')
0 files changed, 0 insertions, 0 deletions