diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-12 23:30:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-12 23:30:58 (GMT) |
commit | c30883bdff0b3544900a5c4aba18b8985436878f (patch) | |
tree | 3446d93477df0997410dc770a2a7f08e233025c2 /net/sched | |
parent | 10949550bd1e50cc91c0f5085f7080a44b0871fe (diff) | |
download | linux-fsl-qoriq-c30883bdff0b3544900a5c4aba18b8985436878f.tar.xz |
ipv4: Simplify iph->daddr overwrite in ip_options_rcv_srr().
We already copy the 4-byte nexthop from the options block into
local variable "nexthop" for the route lookup.
Re-use that variable instead of memcpy()'ing again when assigning
to iph->daddr after the route lookup succeeds.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions