drivers/net/ppp_generic.c |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)

New commits:
commit 2226e4c646a577d45e3736fd92d9d563f7126484
Author: Ben McKeegan <[email protected]>
Date:   Tue Jul 28 07:43:57 2009 +0000

    ppp: fix lost fragments in ppp_mp_explode() (resubmit)
    
    This patch fixes the corner cases where the sum of MTU of the free
    channels (adjusted for fragmentation overheads) is less than the MTU
    of PPP link.  There are at least 3 situations where this case might
    arise:
    
    - some of the channels are busy
    
    - the multilink session is running in a degraded state (i.e. with less
    than its full complement of active channels)
    
    - by design, where multilink protocol is being used to artificially
    increase the effective link MTU of a single link.
    
    Without this patch, at most 1 fragment is ever sent per free channel
    for a given PPP frame and any remaining part of the PPP frame that
    does not fit into those fragments is silently discarded.
    
    This patch restores the original behaviour which was broken by commit
    9c705260feea6ae329bc6b6d5f6d2ef0227eda0a 'ppp:ppp_mp_explode()
    redesign'.  Once all 'free' channels have been given a fragment, an
    additional fragment is queued to each available channel in turn, as many
    times as necessary, until the entire PPP frame has been consumed.
    
    Signed-off-by: Ben McKeegan <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    (cherry picked from commit a53a8b56827cc429c6d9f861ad558beeb5f6103f)

http://suva.vyatta.com/git/?p=linux-vyatta.git;a=commitdiff;h=2226e4c646a577d45e3736fd92d9d563f7126484
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn

Reply via email to