[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150817.104313.662767041806663657.davem@davemloft.net>
Date: Mon, 17 Aug 2015 10:43:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: richard.alpe@...csson.com
Cc: netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next] tipc: don't sanity check non-existing TLV (NL
compat)
From: <richard.alpe@...csson.com>
Date: Mon, 17 Aug 2015 14:15:10 +0200
> From: Richard Alpe <richard.alpe@...csson.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 incorrect "operation not
> supported" message back.
>
> Signed-off-by: Richard Alpe <richard.alpe@...csson.com>
> Reviewed-by: Erik Hugne <erik.hugne@...csson.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists