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

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [PATCH] IPVS: ip_vs_pe.c, use strncmp to be safe.
Cc: Hans Schillstrom <hans.schillstrom@xxxxxxxxxxxx>, lvs-devel@xxxxxxxxxxxxxxx, ja@xxxxxx, wensong@xxxxxxxxxxxx
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Thu, 28 Oct 2010 12:33:27 +0200
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

<Prev in Thread] Current Thread [Next in Thread>