mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
ip_output(): if mb_unmapped_to_ext() failed, return directly
do not free the original mbuf, it is already freed by the mb_unmapped_to_ext(). Reviewed by: glebius Sponsored by: NVidia networking MFC after: 1 week Differential revision: https://reviews.freebsd.org/D49305
This commit is contained in:
parent
c5a96f09df
commit
edc1fba05e
1 changed files with 1 additions and 1 deletions
|
|
@ -751,7 +751,7 @@ sendit:
|
|||
error = ENOBUFS;
|
||||
}
|
||||
IPSTAT_INC(ips_odropped);
|
||||
goto bad;
|
||||
goto done;
|
||||
} else {
|
||||
m = m1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue