drbd: fix connect failure with all default net-options
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 19 Aug 2011 08:39:00 +0000 (10:39 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:03 +0000 (16:58 +0100)
commit25e409321a950b8888830c6ddb7a9774ec38f608
tree9b1982137bbf5303efd358e891d732e692bd29ad
parenta209b4aec31d4b672b7a70f5de272ebf6ce40e1b
drbd: fix connect failure with all default net-options

If no net-options are configured (all on their default),
no DRBD_NLA_NET_CONF will be passed to the kernel.
The kernel must not require its presence,
there is no required option in there.

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