]> git.baikalelectronics.ru Git - kernel.git/commit
team: fix port list dump for big number of ports
authorJiri Pirko <jiri@resnulli.us>
Wed, 29 May 2013 05:02:57 +0000 (05:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:31:52 +0000 (17:31 -0700)
commit9a35a8dc81d0060e30414a2f11d9fafb3909f6e2
tree090b634d4e01b42c3d4aa0f7e74229487d0cb3a2
parent15d42f09e95025048512dc2867b213c2c8d334a5
team: fix port list dump for big number of ports

In case the port list dump does not fit into one skb currently the
dump would start over again. Fix this by continue from the last dumped
port.

Introduced by commit aa70be29de (team: handle sending port list in the
same way option list is sent)

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c