We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3136b9e commit f783f9fCopy full SHA for f783f9f
net/sctp/input.c
@@ -129,7 +129,7 @@ int sctp_rcv(struct sk_buff *skb)
129
* it's better to just linearize it otherwise crc computing
130
* takes longer.
131
*/
132
- if ((!is_gso && skb_linearize(skb)) ||
+ if (((!is_gso || skb_cloned(skb)) && skb_linearize(skb)) ||
133
!pskb_may_pull(skb, sizeof(struct sctphdr)))
134
goto discard_it;
135
0 commit comments