commit | afcf12422ec8236dc8b9238fef7a475876eea8da | [log] [tgz] |
---|---|---|
author | Timo Teras <timo.teras@iki.fi> | Mon Jan 26 20:56:10 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 26 20:56:10 2009 -0800 |
tree | 26210e243faddf54da2b0c35cee81c0b27b6734b | |
parent | 3eacdf58c2c0b9507afedfc19108e98b992c31e4 [diff] |
gre: optimize hash lookup 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>