Fix another bug in handling of multi-link sequence numbers.
MFC after: 1 week
This commit is contained in:
parent
65e4542fca
commit
b5a60ddb7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90594
@ -118,9 +118,10 @@ MALLOC_DEFINE(M_NETGRAPH_PPP, "netgraph_ppp", "netgraph ppp node");
|
|||||||
MP_LONG_SEQ_DIFF((x), (y)))
|
MP_LONG_SEQ_DIFF((x), (y)))
|
||||||
|
|
||||||
/* Increment receive sequence number */
|
/* Increment receive sequence number */
|
||||||
#define MP_NEXT_RECV_SEQ(priv,seq) \
|
#define MP_NEXT_RECV_SEQ(priv,seq) \
|
||||||
(((seq) + 1) & ((priv)->conf.recvShortSeq ? \
|
((priv)->conf.recvShortSeq ? \
|
||||||
MP_SHORT_SEQ_MASK : MP_LONG_SEQ_MASK))
|
MP_SHORT_EXTEND((seq) + 1) : \
|
||||||
|
MP_LONG_EXTEND((seq) + 1))
|
||||||
|
|
||||||
/* Don't fragment transmitted packets smaller than this */
|
/* Don't fragment transmitted packets smaller than this */
|
||||||
#define MP_MIN_FRAG_LEN 6
|
#define MP_MIN_FRAG_LEN 6
|
||||||
|
Loading…
Reference in New Issue
Block a user