]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: Don't use empty nested netlink attributes
authorAndreas Gruenbacher <agruen@linbit.com>
Tue, 24 May 2011 12:18:31 +0000 (14:18 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:40 +0000 (16:57 +0100)
commitc75b9b10e7f09bbf9660dd20a675e0a8069bd529
treef7f04cb42e733ee4f14feccf36d524e26e92a09c
parent1e2a2551ee8fbbac082eb4c14af1289e7aa880f0
drbd: Don't use empty nested netlink attributes

Before mainline commit ea5693cc (v2.6.29-rc1), empty nested netlink attributes
were not allowed.  Fix that by leaving out nested attributes if they are empty
and by allowing the top-level attributes to be missing.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c