RE: [PATCH] rtnetlink: Fix problem with buffer allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

> -----Original Message-----
> From: netdev-owner@xxxxxxxxxxxxxxx [mailto:netdev-owner@xxxxxxxxxxxxxxx]
> On Behalf Of David Miller
> Sent: Tuesday, February 21, 2012 1:21 PM
> To: Rose, Gregory V
> Cc: netdev@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] rtnetlink: Fix problem with buffer allocation
> 
> From: David Miller <davem@xxxxxxxxxxxxx>
> 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

I compile tested it on my development machine and then exported it to a machine that can connect to the internet and mail patches.  I must have screwed something up at that point.

Let me see what the heck I did.

- Greg

> θΊ{.nΗ+‰·Ÿ‰­†+%ŠΛlzwm…ιbλ§²ζμrΈ›zw­uλβžΨ^n‡rʽφ¦zˁλh™¨θ­Ϊ&ʼψG«ιh(
> ­ιšŽŠέʼj"ϊΆm§οκδzΉή–Šΰώf£ʼ·hšˆ§~ˆmš
��.n��������+%������w��{.n����z����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux