diff options
Diffstat (limited to 'net/switchdev/switchdev.c')
| -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) | |||
| 345 | return sizeof(struct switchdev_obj_port_vlan); | 345 | return sizeof(struct switchdev_obj_port_vlan); |
| 346 | case SWITCHDEV_OBJ_ID_PORT_MDB: | 346 | case SWITCHDEV_OBJ_ID_PORT_MDB: |
| 347 | return sizeof(struct switchdev_obj_port_mdb); | 347 | return sizeof(struct switchdev_obj_port_mdb); |
| 348 | case SWITCHDEV_OBJ_ID_HOST_MDB: | ||
| 349 | return sizeof(struct switchdev_obj_port_mdb); | ||
| 348 | default: | 350 | default: |
| 349 | BUG(); | 351 | BUG(); |
| 350 | } | 352 | } |
