[RP-PPPoE] IPv6 support

David F. Skoll dfs at roaringpenguin.com
Tue Jul 30 14:11:03 EDT 2013


On Tue, 30 Jul 2013 10:57:05 -0700
Insane Laughing Clown <mike-rppppoe at tiedyenetworks.com> wrote:

> Two functions use a linear lookup - count_sessions_from_mac and 
> pppoe_free_session.

That's true.  count_sessions_from_mac isn't called unless you use the
-x option, and pppoe_free_session is only called when a session
terminates, not for each control frame.

Nevertheless, on a busy server those functions {c,sh}ould be changed
to use hash lookups.

Regards,

David.


More information about the RP-PPPoE mailing list