mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Close PR# 19904: remember to call sf_setmulti() when initializing the
interface so the multicast filter will be programmed correctly.
This commit is contained in:
parent
6484396e99
commit
eddceb0d2b
2 changed files with 10 additions and 0 deletions
|
|
@ -1183,6 +1183,11 @@ static void sf_init(xsc)
|
|||
SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD);
|
||||
}
|
||||
|
||||
/*
|
||||
* Load the multicast filter.
|
||||
*/
|
||||
sf_setmulti(sc);
|
||||
|
||||
/* Init the completion queue indexes */
|
||||
csr_write_4(sc, SF_CQ_CONSIDX, 0);
|
||||
csr_write_4(sc, SF_CQ_PRODIDX, 0);
|
||||
|
|
|
|||
|
|
@ -1183,6 +1183,11 @@ static void sf_init(xsc)
|
|||
SF_CLRBIT(sc, SF_RXFILT, SF_RXFILT_BROAD);
|
||||
}
|
||||
|
||||
/*
|
||||
* Load the multicast filter.
|
||||
*/
|
||||
sf_setmulti(sc);
|
||||
|
||||
/* Init the completion queue indexes */
|
||||
csr_write_4(sc, SF_CQ_CONSIDX, 0);
|
||||
csr_write_4(sc, SF_CQ_PRODIDX, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue