FreeBSD Bugzilla – Attachment 201516 Details for
Bug 235110
13.0-CURRENT drops to debugger on shutdown with IPNAT enabled.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for second panic
patch-2.diff (text/plain), 667 bytes, created by
Cy Schubert
on 2019-01-29 21:03:34 UTC
(
hide
)
Description:
Fix for second panic
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2019-01-29 21:03:34 UTC
Size:
667 bytes
patch
obsolete
>diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c >index 7c3e0c9fcee..4689f892e99 100644 >--- a/sys/contrib/ipfilter/netinet/ip_nat.c >+++ b/sys/contrib/ipfilter/netinet/ip_nat.c >@@ -1904,21 +1904,17 @@ ipf_nat_getent(softc, data, getlock) > } > } > if (error == 0) { >- if (getlock) { >- READ_ENTER(&softc->ipf_nat); >- getlock = 0; >- } > error = ipf_outobjsz(softc, data, ipn, IPFOBJ_NATSAVE, > ipns.ipn_dsize); > } > > finished: >- if (getlock) { >- READ_ENTER(&softc->ipf_nat); >- } > if (ipn != NULL) { > KFREES(ipn, ipns.ipn_dsize); > } >+ if (getlock) { >+ RWLOCK_EXIT(&softc->ipf_nat); >+ } > return error; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235110
:
201308
|
201309
|
201380
|
201416
|
201417
|
201418
|
201419
|
201420
|
201421
|
201422
|
201456
|
201468
|
201511
| 201516