Searched hist:"472681 d57a5dde7c6d16b05469be57f1c4ed9d99" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/switchdev/ |
H A D | switchdev.c | diff 472681d57a5dde7c6d16b05469be57f1c4ed9d99 Wed Feb 24 23:20:48 CST 2016 MINOURA Makoto / 箕浦 真 <minoura@valinux.co.jp> net: ndo_fdb_dump should report -EMSGSIZE to rtnl_fdb_dump.
When the send skbuff reaches the end, nlmsg_put and friends returns -EMSGSIZE but it is silently thrown away in ndo_fdb_dump. It is called within a for_each_netdev loop and the first fdb entry of a following netdev could fit in the remaining skbuff. This breaks the mechanism of cb->args[0] and idx to keep track of the entries that are already dumped, which results missing entries in bridge fdb show command.
Signed-off-by: Minoura Makoto <minoura@valinux.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/bridge/ |
H A D | br_fdb.c | diff 472681d57a5dde7c6d16b05469be57f1c4ed9d99 Wed Feb 24 23:20:48 CST 2016 MINOURA Makoto / 箕浦 真 <minoura@valinux.co.jp> net: ndo_fdb_dump should report -EMSGSIZE to rtnl_fdb_dump.
When the send skbuff reaches the end, nlmsg_put and friends returns -EMSGSIZE but it is silently thrown away in ndo_fdb_dump. It is called within a for_each_netdev loop and the first fdb entry of a following netdev could fit in the remaining skbuff. This breaks the mechanism of cb->args[0] and idx to keep track of the entries that are already dumped, which results missing entries in bridge fdb show command.
Signed-off-by: Minoura Makoto <minoura@valinux.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff 472681d57a5dde7c6d16b05469be57f1c4ed9d99 Wed Feb 24 23:20:48 CST 2016 MINOURA Makoto / 箕浦 真 <minoura@valinux.co.jp> net: ndo_fdb_dump should report -EMSGSIZE to rtnl_fdb_dump.
When the send skbuff reaches the end, nlmsg_put and friends returns -EMSGSIZE but it is silently thrown away in ndo_fdb_dump. It is called within a for_each_netdev loop and the first fdb entry of a following netdev could fit in the remaining skbuff. This breaks the mechanism of cb->args[0] and idx to keep track of the entries that are already dumped, which results missing entries in bridge fdb show command.
Signed-off-by: Minoura Makoto <minoura@valinux.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
|