[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120221.162125.1533105883101299190.davem@davemloft.net>
Date: Tue, 21 Feb 2012 16:21:25 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: gregory.v.rose@...el.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] rtnetlink: Fix problem with buffer allocation
From: David Miller <davem@...emloft.net>
Date: Tue, 21 Feb 2012 16:16:30 -0500 (EST)
>
> Greg, where is the code that guards the actual dumping of the VF
> information based upon the ext mask?
>
> I only see the ext mask controlling the sizing of the SKB. What good
> is that if we still dump the VFs?
Actually, it's even worse, this thing doesn't even compile because
you haven't updated the actual implementation of rtnl_vfinfo_size()
to take the new mask argument.
You didn't even compile test this, are you fucking kidding me?
net/core/rtnetlink.c: In function ‘if_nlmsg_size’:
net/core/rtnetlink.c:789:9: error: too many arguments to function ‘rtnl_vfinfo_size’
net/core/rtnetlink.c:726:19: note: declared here
make[1]: *** [net/core/rtnetlink.o] Error 1
make: *** [net/core/rtnetlink.o] Error 2
Powered by blists - more mailing lists