aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-12-04 17:59:52 +0000
committerMark Brown <broonie@kernel.org>2017-12-04 17:59:52 +0000
commitd218439feccafaa3e852bbaecc0d9f6110096b65 (patch)
treec4ebfeaebd965735cea5d90332d0f8013b79e628 /net/switchdev/switchdev.c
parentASoC: AMD: Make the driver name consistent across files (diff)
parentASoC: amd: Add error checking to probe function (diff)
downloadwireguard-linux-d218439feccafaa3e852bbaecc0d9f6110096b65.tar.xz
wireguard-linux-d218439feccafaa3e852bbaecc0d9f6110096b65.zip
Merge branch 'fix/amd' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-amd
Diffstat (limited to '')
-rw-r--r--net/switchdev/switchdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
index 0531b41d1f2d..74b9d916a58b 100644
--- a/net/switchdev/switchdev.c
+++ b/net/switchdev/switchdev.c
@@ -345,6 +345,8 @@ static size_t switchdev_obj_size(const struct switchdev_obj *obj)
return sizeof(struct switchdev_obj_port_vlan);
case SWITCHDEV_OBJ_ID_PORT_MDB:
return sizeof(struct switchdev_obj_port_mdb);
+ case SWITCHDEV_OBJ_ID_HOST_MDB:
+ return sizeof(struct switchdev_obj_port_mdb);
default:
BUG();
}