]> git.baikalelectronics.ru Git - kernel.git/commit
rocker: call correct unregister function on error
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 23 Jun 2015 07:52:10 +0000 (10:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 14:12:26 +0000 (07:12 -0700)
commit65f61af8bb3248827c48072f9a202f297bf93712
treea4bf171bf88b3dae313a38e7bc70b341028fdb81
parent408e91be1fff9d5257746d3a76b4eb130717d1eb
rocker: call correct unregister function on error

Use the correct unregister function matching the register
function on the error path.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Fixes: f11a6538ffda573c ("rocker: implement IPv4 fib offloading")
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c