]> git.karo-electronics.de Git - linux-beck.git/commit
ipvs: remove unnecessary assignment in __ip_vs_get_out_rt
authorAlex Gartrell <agartrell@fb.com>
Mon, 6 Oct 2014 20:30:08 +0000 (13:30 -0700)
committerSimon Horman <simon.horman@netronome.com>
Tue, 28 Oct 2014 00:50:06 +0000 (09:50 +0900)
commitd7701089118d23bfed03bad0a6b5cc5115990c9e
treedef2ac0f48a3eaabf1dd8dc0439bb9cd7e5a7226
parent61ed53deb1c6a4386d8710dbbfcee8779c381931
ipvs: remove unnecessary assignment in __ip_vs_get_out_rt

It is a precondition of the function that daddr be equal to dest->addr.ip
if dest is non-NULL, so this additional assignment is just confusing for
stupid engineers like me.

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