diff options
author | Xin Long <[email protected]> | 2019-11-21 18:14:50 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-21 11:47:39 -0800 |
commit | 1841b9829903c82e0445032ad4a7556fcc44a497 (patch) | |
tree | 2911c68138c4e298783e4f442eca5eccbc1f0bef /lib/string_helpers.c | |
parent | 7b6a70f7376479ee0a185b7c2e57b26243f1052d (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions