Skip to content
Commit 1841b982 authored by Xin Long's avatar Xin Long Committed by David S. Miller
Browse files

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: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7b6a70f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment