Skip to content
Commit 8e586137 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

net: make vlan ndo_vlan_rx_[add/kill]_vid return error value



Let caller know the result of adding/removing vlan id to/from vlan
filter.

In some drivers I make those functions to just return 0. But in those
where there is able to see if hw setup went correctly, return value is
set appropriately.

Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7da82c06
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