Re: [PATCH] IPVS: ip_vs_pe.c, use strncmp to be safe.

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

 



On 28.10.2010 09:56, Simon Horman wrote:
> On Wed, Oct 27, 2010 at 05:05:00PM +0200, Hans Schillstrom wrote:
>> With pe data traveling between master and backup,
>> strcmp should not be used. 
>> How knows what size it will have in future.
>>
>> To be safe use strncmp.
> 
> Hi Hans,
> 
> I'm not entirely convinced this is necessary, but
> its better to be safe than sorry.
> 
>> Signed-off-by: Hans Schillstrom <hans.schillstrom@xxxxxxxxxxxx>
> 
> Patrick, I assume that nf-next-2.6 is currently closed.
> I'll push this to you once it opens again.

Thanks, I'll open up nf-next once Dave opens net-next.
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Devel]     [Linux NFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [X.Org]

  Powered by Linux