diff options
author | Xin Long <[email protected]> | 2016-08-07 14:15:13 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-08-08 14:31:23 -0700 |
commit | 1fe323aa1b2390a0c57fb0b06a782f128d49094c (patch) | |
tree | 39ecd5d5767dde397552a0701a04ef16a7f2f237 /tools/perf/scripts/python/stackcollapse.py | |
parent | bbec7802c6948c8626b71a4fe31283cb4691c358 (diff) |
sctp: use event->chunk when it's valid
Commit 52253db924d1 ("sctp: also point GSO head_skb to the sk when
it's available") used event->chunk->head_skb to get the head_skb in
sctp_ulpevent_set_owner().
But at that moment, the event->chunk was NULL, as it cloned the skb
in sctp_ulpevent_make_rcvmsg(). Therefore, that patch didn't really
work.
This patch is to move the event->chunk initialization before calling
sctp_ulpevent_receive_data() so that it uses event->chunk when it's
valid.
Fixes: 52253db924d1 ("sctp: also point GSO head_skb to the sk when it's available")
Signed-off-by: Xin Long <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions