[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181105182245.GD2869@uranus.lan>
Date: Mon, 5 Nov 2018 21:22:45 +0300
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Andrei Vagin <avagin@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Xin Long <lucien.xin@...il.com>
Subject: Re: [PATCH] sock_diag: fix autoloading of the raw_diag module
On Mon, Nov 05, 2018 at 10:12:34AM +0300, Cyrill Gorcunov wrote:
>
> Andrew, looking into kernel code I wonder, maybe we should simply
> add this protocol into inet_protos during net/ipv4/af_inet.c:inet_init?
> It will require to add netns_ok into raw_prot of course.
After spending some time on this idea I think your patch is better,
since it is small and suitable for a -stable fix (because the former
issue is definitely changing the kernel behaviour, the fix should
be passed to -stable as well).
Reviewed-by: Cyrill Gorcunov <gorcunov@...il.com>
Powered by blists - more mailing lists