FreeBSD Bugzilla – Attachment 142043 Details for
Bug 189003
[lagg] Page fault in lacp_req() while the lagg is being destroyed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 898 bytes, created by
Alan Somers
on 2014-04-25 23:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2014-04-25 23:40:01 UTC
Size:
898 bytes
patch
obsolete
>Index: sys/net/ieee8023ad_lacp.c >=================================================================== >--- sys/net/ieee8023ad_lacp.c (revision 264920) >+++ sys/net/ieee8023ad_lacp.c (working copy) >@@ -590,10 +590,20 @@ > { > struct lacp_opreq *req = (struct lacp_opreq *)data; > struct lacp_softc *lsc = LACP_SOFTC(sc); >- struct lacp_aggregator *la = lsc->lsc_active_aggregator; >+ struct lacp_aggregator *la; > >+ bzero(req, sizeof(struct lacp_opreq)); >+ >+ /* >+ * If the LACP softc is NULL, return with the opreq structure full of >+ * zeros. It is normal for the softc to be NULL while the lagg is >+ * being destroyed. >+ */ >+ if (NULL == lsc) >+ return; >+ >+ la = lsc->lsc_active_aggregator; > LACP_LOCK(lsc); >- bzero(req, sizeof(struct lacp_opreq)); > if (la != NULL) { > req->actor_prio = ntohs(la->la_actor.lip_systemid.lsi_prio); > memcpy(&req->actor_mac, &la->la_actor.lip_systemid.lsi_mac,
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 189003
: 142043