diff options
author | 2017-12-04 17:59:52 +0000 | |
---|---|---|
committer | 2017-12-04 17:59:52 +0000 | |
commit | d218439feccafaa3e852bbaecc0d9f6110096b65 (patch) | |
tree | c4ebfeaebd965735cea5d90332d0f8013b79e628 /net/switchdev/switchdev.c | |
parent | ASoC: AMD: Make the driver name consistent across files (diff) | |
parent | ASoC: amd: Add error checking to probe function (diff) | |
download | wireguard-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.c | 2 |
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(); } |