]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: define dst_pending_confirm as a bit in sctp_transport
authorXin Long <lucien.xin@gmail.com>
Sat, 18 Mar 2017 11:27:23 +0000 (19:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 01:31:50 +0000 (18:31 -0700)
commitfac7219b07ca93c3f3ba6228b94fe1f2006efbe7
treef9e7809ed39ea70978d0afe3e5ebd955dcbb4017
parentde1d2844a7f48308e69833d84c3211033a05ef79
sctp: define dst_pending_confirm as a bit in sctp_transport

As tp->dst_pending_confirm's value can only be set 0 or 1, this
patch is to change to define it as a bit instead of __u32.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h