FreeBSD Bugzilla – Attachment 11220 Details for
Bug 22176
if_delmulti() doesn't notify the interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 451 bytes, created by
Yar Tikhiy
on 2000-10-21 10:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Yar Tikhiy
Created:
2000-10-21 10:30:01 UTC
Size:
451 bytes
patch
obsolete
>--- net/if.c.orig Sat Oct 21 12:38:22 2000 >+++ net/if.c Sat Oct 21 12:46:32 2000 >@@ -1278,6 +1278,12 @@ > sa = ifma->ifma_lladdr; > s = splimp(); > LIST_REMOVE(ifma, ifma_link); >+ /* >+ * Make sure the interface driver is notified >+ * if a link layer address has been removed. >+ */ >+ if (ifma->ifma_addr->sa_family == AF_LINK && sa == 0) >+ ifp->if_ioctl(ifp, SIOCDELMULTI, 0); > splx(s); > free(ifma->ifma_addr, M_IFMADDR); > free(ifma, M_IFMADDR);
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 22176
: 11220