vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| make use out of new macro including congestion detect Index: ip_gre.c ================================================== ================= RCS file: /cvs/src/sys/netinet/ip_gre.c,v retrieving revision 1.24 diff -u -r1.24 ip_gre.c --- ip_gre.c 10 Dec 2003 07:22:43 -0000 1.24 +++ ip_gre.c 26 Jun 2004 19:09:32 -0000 @@ -224,12 +224,7 @@ #endif s = splimp(); /* possible */ - if (IF_QFULL(ifq)) { - IF_DROP(ifq); - m_freem(m); - } else { - IF_ENQUEUE(ifq, m); - } + IF_INPUT_ENQUEUE(ifq, m); splx(s); return (1); /* packet is done, no further processing needed */ @@ -371,12 +366,7 @@ #endif s = splimp(); /* possible */ - if (IF_QFULL(ifq)) { - IF_DROP(ifq); - m_freem(m); - } else { - IF_ENQUEUE(ifq, m); - } + IF_INPUT_ENQUEUE(ifq, m); splx(s); } |