aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/netfilter/nft_reject_ipv4.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-02-09 16:21:25 +0800
committerAlex Shi <alex.shi@linaro.org>2017-02-09 16:21:25 +0800
commit1203868ffa16d93234dc005fba95b6596b87ddb5 (patch)
tree0e24f2baa99515d0045998361a2294e2b2b25484 /net/ipv4/netfilter/nft_reject_ipv4.c
parent03b862ce80d27a26f8add26a547b3dc7b4d561d6 (diff)
parent054f8fe34189a62a0b87700c062a18c3a8421615 (diff)
Merge branch 'linux-linaro-lsk-v3.18' into linux-linaro-lsk-v3.18-androidlsk-v3.18-17.03-androidlsk-v3.18-17.02-android
Diffstat (limited to 'net/ipv4/netfilter/nft_reject_ipv4.c')
-rw-r--r--net/ipv4/netfilter/nft_reject_ipv4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/nft_reject_ipv4.c b/net/ipv4/netfilter/nft_reject_ipv4.c
index ed33299c56d1..95fe37c72b32 100644
--- a/net/ipv4/netfilter/nft_reject_ipv4.c
+++ b/net/ipv4/netfilter/nft_reject_ipv4.c
@@ -32,6 +32,8 @@ void nft_reject_ipv4_eval(const struct nft_expr *expr,
case NFT_REJECT_TCP_RST:
nf_send_reset(pkt->skb, pkt->ops->hooknum);
break;
+ default:
+ break;
}
data[NFT_REG_VERDICT].verdict = NF_DROP;