1. 03 8月, 2009 1 次提交
    • B
      ppp: fix lost fragments in ppp_mp_explode() (resubmit) · a53a8b56
      Ben McKeegan 提交于
      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
      9c705260 '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: NBen McKeegan <ben@netservers.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a53a8b56
  2. 31 7月, 2009 12 次提交
  3. 30 7月, 2009 3 次提交
  4. 28 7月, 2009 10 次提交
  5. 27 7月, 2009 10 次提交
  6. 24 7月, 2009 4 次提交