diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-14 05:36:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-16 06:35:58 +0100 |
commit | 4345b0fed3b1085ac4d242c82742dc3c3d543ab6 (patch) | |
tree | 89c74a24f47f91cbcddf097b8583f0955502e97a /src | |
parent | 676859b6b435b7b21eeff6da524ba0b3aae4ea45 (diff) |
ratelimiter: drop family from action for 4.10
This was never actually used, and now that member of the struct has been
removed all together from the kernel.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ratelimiter.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c index be3e6a1..61f7895 100644 --- a/src/ratelimiter.c +++ b/src/ratelimiter.c @@ -99,13 +99,11 @@ bool ratelimiter_allow(struct ratelimiter *ratelimiter, struct sk_buff *skb) action.match = v4_match; action.matchinfo = &ratelimiter->v4_info; action.thoff = ip_hdrlen(skb); - action.family = NFPROTO_IPV4; } #if IS_ENABLED(CONFIG_IPV6) else if (ip_hdr(skb)->version == 6) { action.match = v6_match; action.matchinfo = &ratelimiter->v6_info; - action.family = NFPROTO_IPV6; } #endif else |