mptcp: use plain bool instead of custom binary enum
authorPaolo Abeni <pabeni@redhat.com>
Mon, 23 Oct 2023 20:44:36 +0000 (13:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Oct 2023 19:23:34 +0000 (12:23 -0700)
commitf1f26512a9bf18f7a4c0d59df113a49f39d7d4b6
treee2ee1c4834e8eb1ee66224c9120d80d69add58a1
parentbf0e96108fb6707613dd055aff5e98b02b99bb14
mptcp: use plain bool instead of custom binary enum

The 'data_avail' subflow field is already used as plain boolean,
drop the custom binary enum type and switch to bool.

No functional changed intended.

Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20231023-send-net-next-20231023-2-v1-3-9dc60939d371@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.h
net/mptcp/subflow.c