team: fix error path in team_nl_fill_options_get()
authorJiri Pirko <jpirko@redhat.com>
Tue, 19 Jun 2012 05:54:12 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:00:23 +0000 (15:00 -0700)
commit75db986a6b93dd93e543387720b88f350ce38d30
tree11ed6031ea329e7ea98af0d37101fdbf2465e6af
parent0f1aad2b7f01d88782fbf4ab08b13a7d92b9b6b2
team: fix error path in team_nl_fill_options_get()

genlmsg_cancel() needs to be called in case nest fails

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