projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nft_tunnel: fix null-attribute check
[linux-2.6-microblaze.git]
/
net
/
netfilter
/
nft_tunnel.c
diff --git
a/net/netfilter/nft_tunnel.c
b/net/netfilter/nft_tunnel.c
index
3d4c2ae
..
d89c7c5
100644
(file)
--- a/
net/netfilter/nft_tunnel.c
+++ b/
net/netfilter/nft_tunnel.c
@@
-76,7
+76,7
@@
static int nft_tunnel_get_init(const struct nft_ctx *ctx,
struct nft_tunnel *priv = nft_expr_priv(expr);
u32 len;
- if (!tb[NFTA_TUNNEL_KEY]
&&
+ if (!tb[NFTA_TUNNEL_KEY]
||
!tb[NFTA_TUNNEL_DREG])
return -EINVAL;