Skip to content

Commit

Permalink
do not touch "m" after IF_ENQUEUE.
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jun 8, 2001
1 parent 20236f3 commit 633a042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kame/sys/net/if_gif.c
@@ -1,4 +1,4 @@
/* $KAME: if_gif.c,v 1.49 2001/06/04 12:03:41 itojun Exp $ */
/* $KAME: if_gif.c,v 1.50 2001/06/08 10:09:56 itojun Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -518,11 +518,11 @@ gif_input(m, af, gifp)
splx(s);
return;
}
gifp->if_ipackets++;
gifp->if_ibytes += m->m_pkthdr.len;
IF_ENQUEUE(ifq, m);
/* we need schednetisr since the address family may change */
schednetisr(isr);
gifp->if_ipackets++;
gifp->if_ibytes += m->m_pkthdr.len;
splx(s);

return;
Expand Down

0 comments on commit 633a042

Please sign in to comment.