summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-06-04 16:28:28 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-06-04 16:28:28 +0400
commit11865d0baa7788c6a49c3f8bc0d552d2a3999bcb (patch)
treebb6e0212d634d07488096e402866a72b54ac2881 /accel-pppd/ctrl/pppoe
parentcfbc9780376c463a5977c455765d73f02102fee9 (diff)
downloadaccel-ppp-11865d0baa7788c6a49c3f8bc0d552d2a3999bcb.tar.gz
accel-ppp-11865d0baa7788c6a49c3f8bc0d552d2a3999bcb.zip
Revert "implemented delayed fd close (speeds up session termination process)"
Low interface creation/deletion rate is kernel issue and should be fixed in 3.5. This reverts commit 9ae4a0151805229face3385e6c966de90c7fec29.
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c
index ddd61e79..73ddb913 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.c
+++ b/accel-pppd/ctrl/pppoe/pppoe.c
@@ -27,7 +27,6 @@
#endif
#include "connlimit.h"
-#include "fdtrash.h"
#include "pppoe.h"
@@ -118,7 +117,7 @@ static void disconnect(struct pppoe_conn_t *conn)
pppoe_send_PADT(conn);
- fdtrash_add(conn->disc_sock);
+ close(conn->disc_sock);
triton_event_fire(EV_CTRL_FINISHED, &conn->ppp);