summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-07-30 13:58:35 +0800
committerDavid S. Miller <davem@davemloft.net>2016-07-30 22:06:22 -0700
commit1aa25ec227a4be21515594f485b0f4985109f0d8 (patch)
treea5fedd47061bb248e731aae532c51dc8d6bacb22 /net/sched
parentf626300a3e776ccc9671b0dd94698fb3aa315966 (diff)
downloadlinux-1aa25ec227a4be21515594f485b0f4985109f0d8.tar.bz2
sctp: fix the issue sctp requeue auth chunk incorrectly
sctp needs to queue auth chunk back when we know that we are going to generate another segment. But commit f1533cce60d1 ("sctp: fix panic when sending auth chunks") requeues the last chunk processed which is probably not the auth chunk. It causes panic when calculating the MAC in sctp_auth_calculate_hmac(), as the incorrect offset of the auth chunk in skb->data. This fix is to requeue it by using packet->auth. Fixes: f1533cce60d1 ("sctp: fix panic when sending auth chunks") Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions