[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180524.093741.1053055813699982307.davem@davemloft.net>
Date: Thu, 24 May 2018 09:37:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jakub.kicinski@...ronome.com
Cc: alexei.starovoitov@...il.com, netdev@...r.kernel.org,
oss-drivers@...ronome.com
Subject: Re: [PATCH net-next] bpfilter: don't pass O_CREAT when opening
console for debug
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
Date: Thu, 24 May 2018 00:41:19 -0700
> Passing O_CREAT (00000100) to open means we should also pass file
> mode as the third parameter. Creating /dev/console as a regular
> file may not be helpful anyway, so simply drop the flag when
> opening debug_fd.
>
> Fixes: d2ba09c17a06 ("net: add skeleton of bpfilter kernel module")
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Applied, thanks Jakub.
Powered by blists - more mailing lists