]> 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)
commitcb0d1b5b41ec48d3a6a50c8e45e81b344431848b
tree090b634d4e01b42c3d4aa0f7e74229487d0cb3a2
parent744cfb623216d2767b124010ffff794afc8ffe45
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 fec3dfb3b7 (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