Skip to content
Commit 4ff0308f authored by Steffen Klassert's avatar Steffen Klassert
Browse files

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: fca11ebd ("esp4: Reorganize esp_output")
Fixes: 383d0350 ("esp6: Reorganize esp_output")
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 7bab0963
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment