summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Alpe <richard.alpe@ericsson.com>2015-08-17 14:15:10 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-17 19:39:54 +0200
commit8f8ff9135b28a7560a5627aceaf289e3f0d4cd64 (patch)
tree8b772622f82142d1e4950d9985a8180580d0cdeb /include
parentbnx2: Fix bandwidth allocation for some MF modes (diff)
downloadlinux-8f8ff9135b28a7560a5627aceaf289e3f0d4cd64.tar.xz
linux-8f8ff9135b28a7560a5627aceaf289e3f0d4cd64.zip
tipc: don't sanity check non-existing TLV (NL compat)
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@ericsson.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions