diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2018-12-13 10:26:26 -0600 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@linux.intel.com> | 2018-12-13 10:26:26 -0600 |
commit | a1ee2b9ba07788dc6fcf367ea7af03e6acabc53a (patch) | |
tree | 5b3049efdcda6b982aa653d5aa5513d321a1f14a /drivers/net/tun.c | |
parent | a3456b7dddca102a7ca8e36d0f87cfc71e1b068f (diff) | |
parent | 1ed089625825edd4e98c3b84d935dfcdcb93c9c9 (diff) | |
download | linux-rt-a1ee2b9ba07788dc6fcf367ea7af03e6acabc53a.tar.gz |
Merge tag 'v3.18.126' into v3.18-rt
This is the 3.18.126 stable release
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 3067f840210e..7448ebe2c383 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1423,6 +1423,8 @@ static void tun_setup(struct net_device *dev) */ static int tun_validate(struct nlattr *tb[], struct nlattr *data[]) { + if (!data) + return 0; return -EINVAL; } |