ipv4: defer fib_compute_spec_dst() call
authorEric Dumazet <edumazet@google.com>
Wed, 4 Jul 2012 22:30:09 +0000 (22:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2012 10:03:32 +0000 (03:03 -0700)
ip_options_compile() can avoid calling fib_compute_spec_dst()
by default, and perform the call only if needed.

David suggested to add a helper to make the call only once.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found