switchdev: fix: pass correct obj size when deferring obj add
authorScott Feldman <sfeldma@gmail.com>
Thu, 29 Oct 2015 06:17:31 +0000 (23:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2015 11:23:37 +0000 (20:23 +0900)
commite258d919b175e0160a694a20fb309e29fc93d7b1
treeb19cae556e6f23ce1394613e4c08065bd692ba28
parent3a7bde55a11c4a22a6ccfc487993d621ae8e3688
switchdev: fix: pass correct obj size when deferring obj add

Fixes: 4d429c5dd ("switchdev: introduce possibility to defer obj_add/del")
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/switchdev/switchdev.c