lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 14 Jun 2016 12:05:25 +0000 From: "Jorgen S. Hansen" <jhansen@...are.com> To: Stefan Hajnoczi <stefanha@...hat.com>, Gerard Garcia <ggarcia@...a.uab.cat> CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org> Subject: Re: [RFC 1/3] vsockmon: Add tap functions. On 6/10/16, 5:44 PM, "Stefan Hajnoczi" <stefanha@...hat.com> wrote: >On Thu, Jun 09, 2016 at 05:02:47PM +0200, Gerard Garcia wrote: >> On 06/01/2016 11:07 PM, Stefan Hajnoczi wrote: >> > On Sat, May 28, 2016 at 06:29:05PM +0200, ggarcia@...a.uab.cat wrote: >> > > diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c >> > > index 6b158ab..ec7a05d 100644 >> > > --- a/net/vmw_vsock/af_vsock.c >> > > +++ b/net/vmw_vsock/af_vsock.c >> > > @@ -96,6 +96,7 @@ >> > > #include <linux/unistd.h> >> > > #include <linux/wait.h> >> > > #include <linux/workqueue.h> >> > > +#include <linux/if_arp.h> >> > > #include <net/sock.h> >> > > #include <net/af_vsock.h> >> > > @@ -2012,6 +2013,110 @@ const struct vsock_transport *vsock_core_get_transport(void) >> > > } >> > > EXPORT_SYMBOL_GPL(vsock_core_get_transport); >> > > +/**** TAP ****/ >> > Feel free to put this in a separate source file. The Kbuild can link >> > multiple objects into a single kernel module. That would be cleaner >> > than using a big comment to separate it from af_vsock.c code. >> I'm following the af_vsock.c style, where different logic is separated using >> this style of comments. It is not a lot of code >> so I thought it would be cleaner to have it in the same file. > >It's up to the af_vsock.c maintainer, but if we keep appending >independent chunks of code to one file it becomes hard to manage and >chances of conflicts during patch merging increases. I agree with Stefan - af_vsock.c is already undesirably large, so it would be great if you could make this a separate file.
Powered by blists - more mailing lists