]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: make vlan ndo_vlan_rx_[add/kill]_vid return error value
authorJiri Pirko <jpirko@redhat.com>
Fri, 9 Dec 2011 00:52:37 +0000 (19:52 -0500)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 7 May 2012 21:44:04 +0000 (14:44 -0700)
commit71a2d293c9b025d2164407af693260be7c34eae5
tree93bef5227dbdc212a24da487f0b5e9355c32527a
parent4e9b73b0316463245424ffb024b71a9e51f8bd81
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: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c