rp-pppoe

Tomasz Kłoczko kloczek w rudy.mif.pg.gda.pl
Śro, 4 Wrz 2002, 02:01:49 CEST


Ktoś zdaje sie narzekał że mu rp-pppoe przerywa. Chyba widomo dlaczego.

Format: 1.7
Date: Sun,  1 Sep 2002 11:04:12 +0200
Source: rp-pppoe
Binary: pppoe
Architecture: source i386
Version: 3.3-1.2
Distribution: unstable
Urgency: low
Maintainer: Christian Hudon <chrish w debian.org>
Changed-By: Josselin Mouette <joss w debian.org>
Description: 
 pppoe      - PPP over Ethernet driver
Closes: 124175
Changes: 
 rp-pppoe (3.3-1.2) unstable; urgency=low
 .
   * NMU during bug squashing party.
   * Applied patch from Thomas Antepoth to src/if.c (closes: #124175),
     see http://www.voy.com/41165/2/1244.html

Pod wskazanym adresem jest:

---
after getting "no send buffers available" with rp-pppoe in V3.3 when
running under heavy load I searched the man-page with "man 2 send" and
recognized that ENOBUFS is mostly a warning instead of an error. So the
behavour of rp-pppoe is quite exaggerated when disconnecting on this
warning.

The line in question is in #534 src/if.c which is originally:

if ((send(sock, pkt, size, 0) < 0))

and simply changed this line to:

if ((send(sock, pkt, size, 0) < 0) && ( errno != ENOBUFS ))

After a recompile the rp-pppoe worked as expected and did not disconnect 
any more.
---

Warto żeby ktoś kto używa rp-pppoe to sprawdził.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek w rudy.mif.pg.gda.pl*



Więcej informacji o liście dyskusyjnej pld-devel-pl