Fix the reporting of the PMTUD state for specific paths.
MFC after: 3 days
This commit is contained in:
parent
146839518d
commit
dd78cae9d3
@ -2464,9 +2464,9 @@ sctp_getopt(struct socket *so, int optname, void *optval, size_t *optsize,
|
||||
}
|
||||
/* get flags for PMTU */
|
||||
if (net->dest_state & SCTP_ADDR_NO_PMTUD) {
|
||||
paddrp->spp_flags |= SPP_PMTUD_ENABLE;
|
||||
} else {
|
||||
paddrp->spp_flags |= SPP_PMTUD_DISABLE;
|
||||
} else {
|
||||
paddrp->spp_flags |= SPP_PMTUD_ENABLE;
|
||||
}
|
||||
if (net->dscp & 0x01) {
|
||||
paddrp->spp_dscp = net->dscp & 0xfc;
|
||||
|
Loading…
Reference in New Issue
Block a user