Wrap if_up() by splnet.
Approved by: jkh Submitted by: peter
This commit is contained in:
parent
e7e3ecb6c3
commit
90da21c697
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57536
@ -389,7 +389,13 @@ gif_ioctl(ifp, cmd, data)
|
|||||||
sc->gif_pdst = sa;
|
sc->gif_pdst = sa;
|
||||||
|
|
||||||
ifp->if_flags |= (IFF_UP|IFF_RUNNING);
|
ifp->if_flags |= (IFF_UP|IFF_RUNNING);
|
||||||
if_up(ifp); /* send up RTM_IFINFO */
|
{
|
||||||
|
int s;
|
||||||
|
|
||||||
|
s = splnet();
|
||||||
|
if_up(ifp); /* send up RTM_IFINFO */
|
||||||
|
splx(s);
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user