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 | IPVS: Remove useless { } block from ip_vs_process_message() (diff) | |
download | linux-dev-8aadf93c9c1ff1a53aafd18d038be0d709b5ebc0.tar.xz linux-dev-8aadf93c9c1ff1a53aafd18d038be0d709b5ebc0.zip |
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 '')
-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 72b3d88d35f4..3897d6bf3b29 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; |