Wrap if_up() by splnet.

Approved by: jkh

Submitted by: peter
This commit is contained in:
Yoshinobu Inoue 2000-02-27 18:36:30 +00:00
parent e7e3ecb6c3
commit 90da21c697
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57536

View File

@ -389,7 +389,13 @@ gif_ioctl(ifp, cmd, data)
sc->gif_pdst = sa;
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;