diff options
author | Simon Horman <horms@verge.net.au> | 2010-11-09 09:33:28 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-11-16 08:13:08 +0900 |
commit | 8aadf93c9c1ff1a53aafd18d038be0d709b5ebc0 (patch) | |
tree | 95fce415f48f4df24656ed47a97def2da858a02a /net/netfilter/ipvs/ip_vs_sync.c | |
parent | 7ae246a15a5c9d26cfb572d36794325db0400b18 (diff) | |
download | kernel_samsung_smdk4412-8aadf93c9c1ff1a53aafd18d038be0d709b5ebc0.zip kernel_samsung_smdk4412-8aadf93c9c1ff1a53aafd18d038be0d709b5ebc0.tar.gz kernel_samsung_smdk4412-8aadf93c9c1ff1a53aafd18d038be0d709b5ebc0.tar.bz2 |
IPVS: buffer argument to ip_vs_process_message() should not be const
It is assigned to a non-const variable and its contents are modified.
Acked-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_sync.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c index 72b3d88..3897d6b 100644 --- a/net/netfilter/ipvs/ip_vs_sync.c +++ b/net/netfilter/ipvs/ip_vs_sync.c @@ -303,7 +303,7 @@ ip_vs_conn_fill_param_sync(int af, int protocol, * Process received multicast message and create the corresponding * ip_vs_conn entries. */ -static void ip_vs_process_message(const char *buffer, const size_t buflen) +static void ip_vs_process_message(char *buffer, const size_t buflen) { struct ip_vs_sync_mesg *m = (struct ip_vs_sync_mesg *)buffer; struct ip_vs_sync_conn *s; |