diff options
author | Ben McKeegan <ben@netservers.co.uk> | 2012-02-24 06:33:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-24 17:53:21 -0500 |
commit | 8a49ad6e89feb5015e77ce6efeb2678947117e20 (patch) | |
tree | 02638f120a2bad80262adbe8b039462b54874871 /drivers/pci/slot.c | |
parent | 21ca54e99b085b9ff4c91ca41afe42a439966109 (diff) |
ppp: fix 'ppp_mp_reconstruct bad seq' errors
This patch fixes a (mostly cosmetic) bug introduced by the patch
'ppp: Use SKB queue abstraction interfaces in fragment processing'
found here: http://www.spinics.net/lists/netdev/msg153312.html
The above patch rewrote and moved the code responsible for cleaning
up discarded fragments but the new code does not catch every case
where this is necessary. This results in some discarded fragments
remaining in the queue, and triggering a 'bad seq' error on the
subsequent call to ppp_mp_reconstruct. Fragments are discarded
whenever other fragments of the same frame have been lost.
This can generate a lot of unwanted and misleading log messages.
This patch also adds additional detail to the debug logging to
make it clearer which fragments were lost and which other fragments
were discarded as a result of losses. (Run pppd with 'kdebug 1'
option to enable debug logging.)
Signed-off-by: Ben McKeegan <ben@netservers.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pci/slot.c')
0 files changed, 0 insertions, 0 deletions