projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae246a
)
IPVS: buffer argument to ip_vs_process_message() should not be const
author
Simon Horman
<
[email protected]
>
Tue, 9 Nov 2010 00:33:28 +0000
(09:33 +0900)
committer
Simon Horman
<
[email protected]
>
Mon, 15 Nov 2010 23:13:08 +0000
(08:13 +0900)
It is assigned to a non-const variable and its contents are modified.
Acked-by: Hans Schillstrom <
[email protected]
>
Signed-off-by: Simon Horman <
[email protected]
>
net/netfilter/ipvs/ip_vs_sync.c
patch
|
blob
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_sync.c
b/net/netfilter/ipvs/ip_vs_sync.c
index 72b3d88d35f49ff2f1d3d14bb9065a386c5af341..3897d6bf3b292e3d9b29dc0ec77f69a15c6b17e3 100644
(file)
--- 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(c
onst c
har *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;