commit | 4ff0308f06da5016aafb05330ed37809b54f81ae | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Mon Aug 07 08:31:07 2017 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Mon Aug 07 08:31:07 2017 +0200 |
tree | eafc8bc7473371efb0c0832f415e16ced5af068a | |
parent | 7bab09631c2a303f87a7eb7e3d69e888673b9b7e [diff] |
esp: Fix error handling on layer 2 xmit. esp_output_tail() and esp6_output_tail() can return negative and positive error values. We currently treat only negative values as errors, fix this to treat both cases as error. Fixes: fca11ebde3f0 ("esp4: Reorganize esp_output") Fixes: 383d0350f2cc ("esp6: Reorganize esp_output") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>