diff options
author | Thierry Escande <thierry.escande@collabora.com> | 2016-06-29 10:48:22 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2016-07-06 10:02:06 +0200 |
commit | de9e5aeb4f40e72fa3bb087d378c9bd4ecf65c7f (patch) | |
tree | de94e9274726f79bfe73129ae1c76cc1d246f1d5 /net/nfc/Makefile | |
parent | 204bddcb508fe3bca5c97a9f528bafd7ba8fcec8 (diff) |
NFC: llcp: Fix usage of llcp_add_tlv()
In functions using llcp_add_tlv(), a skb pointer could be set to NULL
and then reuse afterward.
With this patch, the skb pointer returned by llcp_add_tlv() is ignored
since it can only be the passed skb pointer or NULL when the passed TLV
is NULL. There is also no need to check for the TLV pointer as this is
done by llcp_add_tlv().
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/nfc/Makefile')
0 files changed, 0 insertions, 0 deletions