]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipvs: supply a valid 0 address to ip_vs_conn_new()
authorSimon Horman <horms@verge.net.au>
Wed, 17 Sep 2008 00:10:42 +0000 (10:10 +1000)
committerSimon Horman <horms@verge.net.au>
Wed, 17 Sep 2008 00:10:42 +0000 (10:10 +1000)
commitdff630ddad3884b99fae3ad92f5eccbf26618679
treed5c324c78b40101273c824f7d9510503421e87e7
parent9e691ed68d94ab3047e028736641445b4cf74d67
ipvs: supply a valid 0 address to ip_vs_conn_new()

ip_vs_conn_new expects a union nf_inet_addr as the type for its address
parameters, not a plain integer.

This problem was detected by sparse.

make C=1
  CHECK   net/ipv4/ipvs/ip_vs_core.c
net/ipv4/ipvs/ip_vs_core.c:469:9: warning: Using plain integer as NULL pointer

Acked-by: Sven Wegener <sven.wegener@stealer.net>
Acked-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_core.c