Commit 85d1d8ca authored by Julian Anastasov's avatar Julian Anastasov Committed by David S. Miller

[IPVS]: avoid NULL ptr deref for dest in __ip_vs_get_out_rt

parent eb4c85da
......@@ -98,7 +98,7 @@ __ip_vs_get_out_rt(struct ip_vs_conn *cp, u32 rtos)
.oif = 0,
.nl_u = {
.ip4_u = {
.daddr = dest->addr,
.daddr = cp->daddr,
.saddr = 0,
.tos = rtos, } },
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment