ipvs: Avoid null-pointer deref in debug code
authorAlex Gartrell <agartrell@fb.com>
Mon, 6 Oct 2014 15:46:19 +0000 (08:46 -0700)
committerSimon Horman <simon.horman@netronome.com>
Tue, 28 Oct 2014 00:48:31 +0000 (09:48 +0900)
commit3d53666b40007b55204ee8890618da79a20c9940
tree224d140b52c1568d3d82c44103c90f8d9747d379
parent7965ee93719921ea5978f331da653dfa2d7b99f5
ipvs: Avoid null-pointer deref in debug code

Use daddr instead of reaching into dest.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Gartrell <agartrell@fb.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_xmit.c