cvs commit: src/sys/dev/netif/re if_re.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Sat Feb 19 16:37:47 PST 2005


joerg       2005/02/19 16:36:23 PST

DragonFly src repository

  Modified files:
    sys/dev/netif/re     if_re.c 
  Log:
  Fix a bug introduced earlier. We can't put packets back into
  the queue with ALTQ, so we have to handle the case of errors
  after m_defrag has been called directly. We also have to remove
  the packets from the queue before we free them to avoid races.
  Same applies to calling bpf_mtap, which has to done on the
  defragmented packet.
  
  Revision  Changes    Path
  1.10      +34 -23    src/sys/dev/netif/re/if_re.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.9&r2=1.10&f=u





More information about the Commits mailing list