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:20:52 +0800
committerAlex Shi <alex.shi@linaro.org>2017-02-09 16:20:52 +0800
commit054f8fe34189a62a0b87700c062a18c3a8421615 (patch)
tree805b9cc11d537a66870978b1ea51fc66c5a8f9a9 /net/ipv4/netfilter/nft_reject_ipv4.c
parent108df9c204f549150c7e1e3262ffd19bd624269e (diff)
parent53752ea210016b548cfc3898e6a5ea338fcb6c2c (diff)
Merge remote-tracking branch 'lts/linux-3.18.y' into linux-linaro-lsk-v3.18lsk-v3.18-17.03lsk-v3.18-17.02
Conflicts: arch/x86/boot/compressed/misc.h
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;