dcb: unlock on error in dcbnl_ieee_get()
commit70bfa2d2e1bfd90ef26758b5e2749f043a940037
authorDan Carpenter <error27@gmail.com>
Tue, 4 Jan 2011 21:03:12 +0000 (4 21:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jan 2011 19:16:54 +0000 (6 11:16 -0800)
treea6dd525ad85e1fe1b95a906f8b9fa50c7f275bdb
parent0c6610017459ed9642548694fe88971d3f4206aa
dcb: unlock on error in dcbnl_ieee_get()

There is a "goto nla_put_failure" hidden inside the NLA_PUT() macro, but
we're holding the dcb_lock so we need to unlock first.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c