mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 12:04:08 +00:00
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>
This commit is contained in:
parent
486a43db2e
commit
1f904495b7
1 changed files with 2 additions and 2 deletions
|
@ -753,6 +753,8 @@ struct sctp_transport {
|
||||||
/* Is the Path MTU update pending on this tranport */
|
/* Is the Path MTU update pending on this tranport */
|
||||||
pmtu_pending:1,
|
pmtu_pending:1,
|
||||||
|
|
||||||
|
dst_pending_confirm:1, /* need to confirm neighbour */
|
||||||
|
|
||||||
/* Has this transport moved the ctsn since we last sacked */
|
/* Has this transport moved the ctsn since we last sacked */
|
||||||
sack_generation:1;
|
sack_generation:1;
|
||||||
u32 dst_cookie;
|
u32 dst_cookie;
|
||||||
|
@ -806,8 +808,6 @@ struct sctp_transport {
|
||||||
|
|
||||||
__u32 burst_limited; /* Holds old cwnd when max.burst is applied */
|
__u32 burst_limited; /* Holds old cwnd when max.burst is applied */
|
||||||
|
|
||||||
__u32 dst_pending_confirm; /* need to confirm neighbour */
|
|
||||||
|
|
||||||
/* Destination */
|
/* Destination */
|
||||||
struct dst_entry *dst;
|
struct dst_entry *dst;
|
||||||
/* Source address. */
|
/* Source address. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue