diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-03-18 07:27:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-21 21:31:50 -0400 |
commit | 1f904495b79003cd3d881de8731377d48fcbc7e3 (patch) | |
tree | f9e7809ed39ea70978d0afe3e5ebd955dcbb4017 | |
parent | 486a43db2e26b87125b5629e1ade516f90833934 (diff) |
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>
-rw-r--r-- | include/net/sctp/structs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 07a0b128625a..4f645198e9bd 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
@@ -753,6 +753,8 @@ struct sctp_transport { | |||
753 | /* Is the Path MTU update pending on this tranport */ | 753 | /* Is the Path MTU update pending on this tranport */ |
754 | pmtu_pending:1, | 754 | pmtu_pending:1, |
755 | 755 | ||
756 | dst_pending_confirm:1, /* need to confirm neighbour */ | ||
757 | |||
756 | /* Has this transport moved the ctsn since we last sacked */ | 758 | /* Has this transport moved the ctsn since we last sacked */ |
757 | sack_generation:1; | 759 | sack_generation:1; |
758 | u32 dst_cookie; | 760 | u32 dst_cookie; |
@@ -806,8 +808,6 @@ struct sctp_transport { | |||
806 | 808 | ||
807 | __u32 burst_limited; /* Holds old cwnd when max.burst is applied */ | 809 | __u32 burst_limited; /* Holds old cwnd when max.burst is applied */ |
808 | 810 | ||
809 | __u32 dst_pending_confirm; /* need to confirm neighbour */ | ||
810 | |||
811 | /* Destination */ | 811 | /* Destination */ |
812 | struct dst_entry *dst; | 812 | struct dst_entry *dst; |
813 | /* Source address. */ | 813 | /* Source address. */ |