diff options
Diffstat (limited to 'net/sctp/input.c')
| -rw-r--r-- | net/sctp/input.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 7e99894778d4..e119e460ccde 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c @@ -190,7 +190,7 @@ int sctp_rcv(struct sk_buff *skb)  		goto discard_release;  	nf_reset_ct(skb); -	if (sk_filter(sk, skb)) +	if (sk_filter(sk, skb) || skb->len < sizeof(struct sctp_chunkhdr))  		goto discard_release;  	/* Create an SCTP packet structure. */  | 
