aboutsummaryrefslogtreecommitdiffstats
path: root/net/phonet
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2013-01-17 11:15:08 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-14 10:47:35 -0800
commitdaba311aef717d505bc2ebb9a24f96ad15b7f394 (patch)
treeb5a0b4d15ac79b9d7a2fc0adb4232a93d5341367 /net/phonet
parent107be19fbf77ba82dd8f081c1fb9e20ecdd07a64 (diff)
downloadkernel_samsung_smdk4412-daba311aef717d505bc2ebb9a24f96ad15b7f394.zip
kernel_samsung_smdk4412-daba311aef717d505bc2ebb9a24f96ad15b7f394.tar.gz
kernel_samsung_smdk4412-daba311aef717d505bc2ebb9a24f96ad15b7f394.tar.bz2
sctp: refactor sctp_outq_teardown to insure proper re-initalization
[ Upstream commit 2f94aabd9f6c925d77aecb3ff020f1cc12ed8f86 ] Jamie Parsons reported a problem recently, in which the re-initalization of an association (The duplicate init case), resulted in a loss of receive window space. He tracked down the root cause to sctp_outq_teardown, which discarded all the data on an outq during a re-initalization of the corresponding association, but never reset the outq->outstanding_data field to zero. I wrote, and he tested this fix, which does a proper full re-initalization of the outq, fixing this problem, and hopefully future proofing us from simmilar issues down the road. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Reported-by: Jamie Parsons <Jamie.Parsons@metaswitch.com> Tested-by: Jamie Parsons <Jamie.Parsons@metaswitch.com> CC: Jamie Parsons <Jamie.Parsons@metaswitch.com> CC: Vlad Yasevich <vyasevich@gmail.com> CC: "David S. Miller" <davem@davemloft.net> CC: netdev@vger.kernel.org Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions