[PATCH net-next] tipc: don't sanity check non-existing TLV (NL compat)

2015-08-17 Thread richard.alpe
From: Richard Alpe richard.a...@ericsson.com A zero length payload means that no TLV (Type Length Value) data has been passed. Prior to this patch a non-existing TLV could be sanity checked with TLV_OK() resulting in random behavior where a user sending an empty message occasionally got a

Re: [PATCH net-next] tipc: don't sanity check non-existing TLV (NL compat)

2015-08-17 Thread David Miller
From: richard.a...@ericsson.com Date: Mon, 17 Aug 2015 14:15:10 +0200 From: Richard Alpe richard.a...@ericsson.com A zero length payload means that no TLV (Type Length Value) data has been passed. Prior to this patch a non-existing TLV could be sanity checked with TLV_OK() resulting in