]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xfrm: fix boolean assignment in xfrm_get_type_offload
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Mon, 22 Jan 2018 22:34:09 +0000 (16:34 -0600)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 23 Jan 2018 09:56:36 +0000 (10:56 +0100)
commit545d8ae7affff7fb4f8bfd327c7c7790056535c4
treea2d751970d129329f5d95ff34f0533466ccd445b
parent5efec5c655dd31944af440ff2b0a93facc4a7762
xfrm: fix boolean assignment in xfrm_get_type_offload

Assign true or false to boolean variables instead of an integer value.

This issue was detected with the help of Coccinelle.

Fixes: ffdb5211da1c ("xfrm: Auto-load xfrm offload modules")
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_state.c