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)
commit3f3e7ce4ff87c8ea69acaa7700699fb26baa2914
tree090b634d4e01b42c3d4aa0f7e74229487d0cb3a2
parent6d7581e62f8be462440d7b22c6361f7c9fa4902b
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 d90f889e9c (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