]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sdp: Fixed compilation error on 2.6.18 RH5.5
authorAmir Vadai <amirv@mellanox.co.il>
Thu, 24 Mar 2011 08:46:06 +0000 (10:46 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:48 +0000 (05:05 -0700)
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_main.c

index 5518df8ca5d89a1a9cd4126c065a3c30aee0ef29..1b0ff42d2dd6c388781abbc5a9d0b5f349e6e0f6 100644 (file)
@@ -3004,6 +3004,7 @@ static void __exit sdp_exit(void)
        ib_unregister_client(&sdp_client);
 
        percpu_counter_destroy(orphan_count);
+       percpu_counter_destroy(sockets_allocated);
 
        kfree(orphan_count);
        kfree(sockets_allocated);