diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c index 5c7549b5b92cd23c551fc65775d1abbd4aa768cb..41adf362936d7dc4035cf9db7d7962f8dafcad0d 100644 --- a/net/strparser/strparser.c +++ b/net/strparser/strparser.c @@ -246,7 +246,7 @@ static int strp_recv(read_descriptor_t *desc, struct sk_buff *orig_skb, } else { strp->rx_interrupted = 1; } - strp_parser_err(strp, err, desc); + strp_parser_err(strp, len, desc); break; } else if (len > strp->sk->sk_rcvbuf) { /* Message length exceeds maximum allowed */