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 aba0c94 commit fd60d8aCopy full SHA for fd60d8a
net/sctp/input.c
@@ -117,7 +117,7 @@ int sctp_rcv(struct sk_buff *skb)
117
* it's better to just linearize it otherwise crc computing
118
* takes longer.
119
*/
120
- if ((!is_gso && skb_linearize(skb)) ||
+ if (((!is_gso || skb_cloned(skb)) && skb_linearize(skb)) ||
121
!pskb_may_pull(skb, sizeof(struct sctphdr)))
122
goto discard_it;
123
0 commit comments