projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switchdev: Adding MDB entry offload
[cascardo/linux.git]
/
net
/
switchdev
/
switchdev.c
diff --git
a/net/switchdev/switchdev.c
b/net/switchdev/switchdev.c
index
df790d3
..
ebc661d
100644
(file)
--- 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_ipv4_fib);
case SWITCHDEV_OBJ_ID_PORT_FDB:
return sizeof(struct switchdev_obj_port_fdb);
+ case SWITCHDEV_OBJ_ID_PORT_MDB:
+ return sizeof(struct switchdev_obj_port_mdb);
default:
BUG();
}