commit | ab997ad408394bcaf7f3015d4c4e38047eaf2ad6 | [log] [tgz] |
---|---|---|
author | lucien <lucien.xin@gmail.com> | Fri Oct 23 15:36:53 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 23 02:38:18 2015 -0700 |
tree | 7a42dc942c501f16c4526ff88583e53f64be23e9 | |
parent | f23d538bc24a83c16127c2eb82c9cf1adc2b5149 [diff] |
ipv6: fix the incorrect return value of throw route The error condition -EAGAIN, which is signaled by throw routes, tells the rules framework to walk on searching for next matches. If the walk ends and we stop walking the rules with the result of a throw route we have to translate the error conditions to -ENETUNREACH. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>