team: replicate options on register
authorJiri Pirko <jpirko@redhat.com>
Wed, 16 Nov 2011 11:09:09 +0000 (11:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2011 23:16:38 +0000 (18:16 -0500)
Since multiple team instances are putting defined options into their
option list, during register each option must be cloned before added
into list. This resolves uncool memory corruptions when using multiple
teams.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found