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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111123101933.GA10127@tugrik.mns.mnsspb.ru>
Date:	Wed, 23 Nov 2011 14:19:34 +0400
From:	Kirill Smelkov <kirr@....spb.ru>
To:	Neil Horman <nhorman@...driver.com>
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
	john.r.fastabend@...el.com, robert.w.love@...el.com
Subject: Re: [PATCH 0/2] net: Add network priority cgroup (v4)

On Tue, Nov 22, 2011 at 04:00:08PM -0500, Neil Horman wrote:
> On Tue, Nov 22, 2011 at 03:45:16PM -0500, David Miller wrote:
> > From: Neil Horman <nhorman@...driver.com>
> > Date: Tue, 22 Nov 2011 15:39:38 -0500
> > 
> > > On Tue, Nov 22, 2011 at 03:23:15PM -0500, David Miller wrote:
> > >> From: Neil Horman <nhorman@...driver.com>
> > >> Date: Tue, 22 Nov 2011 10:10:50 -0500
> > >> 
> > >> > (v2)
> > >> > Based on reviews from John F., Amerigo Wang and Neerav Parikh, I've cleaned up
> > >> > the rcu locking, fixed a memory leak in an error path, and corrected some typos.
> > >> > 
> > >> > (v3)
> > >> > Converted rcu_dereference to rntl_dereference where appropriate as per request
> > >> > from John F.
> > >> > 
> > >> > (v4)
> > >> > Cleaned up some spacing issues, and optimized the skb_update_priority path as
> > >> > per request from Dave M.
> > >> > 
> > >> > Signed-off-by: Neil Horman <nhorman@...driver.com>
> > >> > Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
> > >> > CC: Robert Love <robert.w.love@...el.com>
> > >> > CC: "David S. Miller" <davem@...emloft.net>
> > >> 
> > >> Applied and going through some build testing now, thanks Neil.
> > > Thanks Dave!  I tested here building separately with:
> > > CONFIG_CGROUPS=n
> > > CONFIG_CROUPS=y && CONFIG_NETPRIO_CGROUP=y
> > > CONFIG_CROUPS=y && CONFIG_NETPRIO_CGROUP=m
> > > 
> > > So you should be square, but theres rarely any valid accounting for my ability
> > > to screw something up :)
> > 
> > I want to be absolutely sure, because I had to apply your changes by hand,
> > in particular the linux/netdevice.h changes had line offsets of up to 67.
> Really?  Thats odd, I've got thse changes here applied to a local copy of the
> net-next tree.  I branched from commit 8b3408f8ee994973869d8ba32c5bf482bc4ddca4
> and it applies cleanly.  Perhaps something wen't in while I was developing this?

The patch broke the build with CONFIG_CGROUPS=n (testing on today's
net-next v3.2-rc2-714-g1f2149c):

kirr@...i:~/src/linux/linux-net-next$ make
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      init/do_mounts.o
In file included from include/linux/netdevice.h:53,
                 from include/linux/icmpv6.h:173,
                 from include/linux/ipv6.h:220,
                 from include/net/ipv6.h:16,
                 from include/linux/sunrpc/clnt.h:26,
                 from include/linux/nfs_fs.h:50,
                 from init/do_mounts.c:20:
include/net/netprio_cgroup.h:23: error: field ‘css’ has incomplete type
scripts/Makefile.build:305: recipe for target `init/do_mounts.o' failed
make[1]: *** [init/do_mounts.o] Error 1
Makefile:945: recipe for target `init' failed
make: *** [init] Error 2


Config attached.


Thanks,
Kirill

View attachment ".config" of type "text/plain" (65325 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ