summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorYueHaibing2018-07-25 10:54:33 +0200
committerSteffen Klassert2018-07-26 07:13:44 +0200
commit934ffce1343f22ed5e2d0bd6da4440f4848074de (patch)
tree6e1ea52abf57e248ed6580f879ac95d02120541e /Kconfig
parentxfrm: Allow xfrmi if_id to be updated by UPDSA (diff)
downloadkernel-qcow2-linux-934ffce1343f22ed5e2d0bd6da4440f4848074de.tar.gz
kernel-qcow2-linux-934ffce1343f22ed5e2d0bd6da4440f4848074de.tar.xz
kernel-qcow2-linux-934ffce1343f22ed5e2d0bd6da4440f4848074de.zip
xfrm: fix 'passing zero to ERR_PTR()' warning
Fix a static code checker warning: net/xfrm/xfrm_policy.c:1836 xfrm_resolve_and_create_bundle() warn: passing zero to 'ERR_PTR' xfrm_tmpl_resolve return 0 just means no xdst found, return NULL instead of passing zero to ERR_PTR. Fixes: d809ec895505 ("xfrm: do not assume that template resolving always returns xfrms") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions