]> git.baikalelectronics.ru Git - 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)
commit2d033fea347d217ad9529e6f321724a6a54b4c7b
treea2d751970d129329f5d95ff34f0533466ccd445b
parent06b73d72ec48809454b8f626d667f8ff06e1bb43
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: 1e6eea29cb2b ("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