diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-11-21 18:14:50 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-21 11:47:39 -0800 |
commit | 1841b9829903c82e0445032ad4a7556fcc44a497 (patch) | |
tree | 2911c68138c4e298783e4f442eca5eccbc1f0bef /drivers/hwtracing/intel_th/gth.h | |
parent | 7b6a70f7376479ee0a185b7c2e57b26243f1052d (diff) | |
download | blackbird-op-linux-1841b9829903c82e0445032ad4a7556fcc44a497.tar.gz blackbird-op-linux-1841b9829903c82e0445032ad4a7556fcc44a497.zip |
lwtunnel: check erspan options before allocating tun_info
As Jakub suggested on another patch, it's better to do the check
on erspan options before allocating memory.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwtracing/intel_th/gth.h')
0 files changed, 0 insertions, 0 deletions