Skip to content
Commit a37c5c26 authored by Kangmin Park's avatar Kangmin Park Committed by Jakub Kicinski
Browse files

net: bridge: change return type of br_handle_ingress_vlan_tunnel



br_handle_ingress_vlan_tunnel() is only referenced in
br_handle_frame(). If br_handle_ingress_vlan_tunnel() is called and
return non-zero value, goto drop in br_handle_frame().

But, br_handle_ingress_vlan_tunnel() always return 0. So, the
routines that check the return value and goto drop has no meaning.

Therefore, change return type of br_handle_ingress_vlan_tunnel() to
void and remove if statement of br_handle_frame().

Signed-off-by: default avatarKangmin Park <l4stpr0gr4m@gmail.com>
Acked-by: default avatarNikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20210823102118.17966-1-l4stpr0gr4m@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 7844ec21
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