You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()"
This reverts commit 53a85c3.
This patch was not backported correctly and introduced the following
warning:
net/8021q/vlan_core.c:332:61: warning: passing argument 2 of 'vlan_hw_filter_capable' makes pointer from
integer without a cast [-Wint-conversion]
The problem is that commit 9daae9b
("net: Call add/kill vid ndo on vlan filter feature toggling") from
v4.17 changed the signature of vlan_hw_filter_capable():
-static bool vlan_hw_filter_capable(const struct net_device *dev,
- const struct vlan_vid_info
*vid_info)
+bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto)
{
Revert this change so we can apply a correct backport.
Signed-off-by: Vegard Nossum <[email protected]>
0 commit comments