commit | 1841b9829903c82e0445032ad4a7556fcc44a497 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Thu Nov 21 18:14:50 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 21 11:47:39 2019 -0800 |
tree | 2911c68138c4e298783e4f442eca5eccbc1f0bef | |
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 <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>