Fix a bug introduced earlier. We can't put packets back into
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 20 Feb 2005 00:36:23 +0000 (00:36 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 20 Feb 2005 00:36:23 +0000 (00:36 +0000)
commit8f77d35014167768de06b7ddb1234f971561c369
treeb75654ca07198a9f7e85e762ebbce14cd617c36e
parentc8f5127a18c9ac4197f66ffd1ffe24cc4673ca63
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.
sys/dev/netif/re/if_re.c