A missing skb_abort_seq_read() has to be added in order to properly close the seq_read session initiated with skb_prepare_seq_read().
Signed-off-by: Antonio Quartulli ordex@autistici.org --- net/batman-adv/main.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 08125f3..51aafd6 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -473,6 +473,7 @@ __be32 batadv_skb_crc32(struct sk_buff *skb, u8 *payload_ptr) crc = crc32c(crc, data, len); consumed += len; } + skb_abort_seq_read(&st);
return htonl(crc); }