mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
tcp rack, bbr: improve handling of soft errors
Do not report an error, if it is stored as a soft error. This avoids, for example, the dropping of TCP connections using an interface, while enabling or disabling LRO on that interface. Reviewed by: cc Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46427 (cherry picked from commit b2044c4557443bbce974101f04e2b465d1bbe769)
This commit is contained in:
parent
1821145f28
commit
2e45166856
2 changed files with 2 additions and 0 deletions
|
|
@ -13837,6 +13837,7 @@ nomore:
|
|||
case ENETUNREACH:
|
||||
if (TCPS_HAVERCVDSYN(tp->t_state)) {
|
||||
tp->t_softerror = error;
|
||||
error = 0;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -22473,6 +22473,7 @@ nomore:
|
|||
case ENETDOWN:
|
||||
if (TCPS_HAVERCVDSYN(tp->t_state)) {
|
||||
tp->t_softerror = error;
|
||||
error = 0;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue