Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src/sys/net



Module Name:    src
Committed By:   bouyer
Date:           Wed Aug 20 20:52:31 UTC 2008

Modified Files:
        src/sys/net [netbsd-4]: if_pppoe.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #1186):
        sys/net/if_pppoe.c: revision 1.89 - 1.92
Test and handle memory allocation failure for the access concentrator
cookie.
When upper layer asks us to re-establish a connection, don't do so
synchronously, but insert a (varying) delay. Before we have only been
decoupled from the peer via network latency - now we introduce some
explicit delay. This, at least, creates batter serialized debug output.
However, if we have to reconnect because of an authentication failure,
the peer may have just been unable to access it's radius server. (I have
a setup where this seems to happen every now and then, depending on time
of day.) Backoff reconnect in this cases seriously longer - this is better
than hitting the max-auth-failure limit within a few seconds.
Simplify auth failure reconnect a bit and make it more similar to the
session establishment timeout handling.
Fix a tyop in a comment and a few #define<tab> nits while here.


To generate a diff of this commit:
cvs rdiff -r1.76.2.2 -r1.76.2.3 src/sys/net/if_pppoe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index