gre: optimize hash lookup
authorTimo Teras <timo.teras@iki.fi>
Tue, 27 Jan 2009 04:56:10 +0000 (20:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2009 04:56:10 +0000 (20:56 -0800)
Instead of keeping candidate tunnel device from all categories,
keep only one candidate with best score. This optimizes stack
usage and speeds up exit code.

Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found