|
Lines 1278-1283
Link Here
|
| 1278 |
sa = ifma->ifma_lladdr; |
1278 |
sa = ifma->ifma_lladdr; |
| 1279 |
s = splimp(); |
1279 |
s = splimp(); |
| 1280 |
LIST_REMOVE(ifma, ifma_link); |
1280 |
LIST_REMOVE(ifma, ifma_link); |
|
|
1281 |
/* |
| 1282 |
* Make sure the interface driver is notified |
| 1283 |
* if a link layer address has been removed. |
| 1284 |
*/ |
| 1285 |
if (ifma->ifma_addr->sa_family == AF_LINK && sa == 0) |
| 1286 |
ifp->if_ioctl(ifp, SIOCDELMULTI, 0); |
| 1281 |
splx(s); |
1287 |
splx(s); |
| 1282 |
free(ifma->ifma_addr, M_IFMADDR); |
1288 |
free(ifma->ifma_addr, M_IFMADDR); |
| 1283 |
free(ifma, M_IFMADDR); |
1289 |
free(ifma, M_IFMADDR); |