[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200730060654.GA17803@lst.de>
Date: Thu, 30 Jul 2020 08:06:54 +0200
From: Christoph Hellwig <hch@....de>
To: Rodrigo Madera <rodrigo.madera@...il.com>
Cc: hch@....de, christian.brauner@...ntu.com,
linux-kernel@...r.kernel.org
Subject: Re: bpfilter logging write errors in dmesg
Ho Rodrigo,
please try this patch:
diff --git a/net/bpfilter/bpfilter_kern.c b/net/bpfilter/bpfilter_kern.c
index 1905e01c3aa9a7..4494ea6056cdb8 100644
--- a/net/bpfilter/bpfilter_kern.c
+++ b/net/bpfilter/bpfilter_kern.c
@@ -39,7 +39,7 @@ static int __bpfilter_process_sockopt(struct sock *sk, int optname,
{
struct mbox_request req;
struct mbox_reply reply;
- loff_t pos;
+ loff_t pos = 0;
ssize_t n;
int ret = -EFAULT;
Powered by blists - more mailing lists