drbd: Also need to check for DRBD_GENLA_F_MANDATORY flags before nla_find_nested()
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 9 Jun 2011 15:52:12 +0000 (17:52 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:45 +0000 (16:57 +0100)
commit7c3063cc6f0e75cdf312f5f318f9a4c02e460397
treeed54e6066aed1994577e20fc6d635d856627cbab
parent789c1b626cb490acb36cf481b45040b324f60fde
drbd: Also need to check for DRBD_GENLA_F_MANDATORY flags before nla_find_nested()

This is done by introducing drbd_nla_find_nested() which handles the flag
before calling nla_find_nested().

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