commit | bf5e53e3717ed28be69d0663c65962d1731e7ee4 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Jul 04 22:30:09 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 05 03:03:32 2012 -0700 |
tree | 7211c0114426ece185d27e3d7c637ecf354fba72 | |
parent | 36bdbcae2fa2a6dfa99344d4190fcea0aa7b7c25 [diff] |
ipv4: defer fib_compute_spec_dst() call 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>