android_kernel_oneplus_msm8998/net/ipv4
Johannes Berg a0a1aaa6a2 ipv4: add option to drop gratuitous ARP packets
In certain 802.11 wireless deployments, there will be ARP proxies
that use knowledge of the network to correctly answer requests.
To prevent gratuitous ARP frames on the shared medium from being
a problem, on such deployments wireless needs to drop them.

Enable this by providing an option called "drop_gratuitous_arp".

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4078228159c9f54cca7347a8bdace29f2abdef65)

Change-Id: I8772dbd7471085878f8b4161eb2a056d79b8b232
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:20 +01:00
..
netfilter Merge android-4.4.177 (0c3b8c4) into msm-4.4 2019-03-25 12:49:05 +05:30
af_inet.c Merge android-4.4.159 (624c095) into msm-4.4 2018-10-08 10:55:01 +05:30
ah4.c ipsec: check return value of skb_to_sgvec always 2018-04-13 19:50:23 +02:00
arp.c ipv4: add option to drop gratuitous ARP packets 2020-11-03 21:30:20 +01:00
cipso_ipv4.c netlabel: fix out-of-bounds memory accesses 2019-03-23 08:44:23 +01:00
datagram.c inet: stop leaking jiffies on the wire 2019-11-10 11:21:13 +01:00
devinet.c ipv4: add option to drop gratuitous ARP packets 2020-11-03 21:30:20 +01:00
esp4.c ipsec: check return value of skb_to_sgvec always 2018-04-13 19:50:23 +02:00
fib_frontend.c This is the 4.4.173 stable release 2019-02-07 09:39:13 +01:00
fib_lookup.h
fib_rules.c
fib_semantics.c net: ipv4: update fnhe_pmtu when first hop's MTU changes 2018-10-20 09:52:36 +02:00
fib_trie.c Merge android-4.4.173 (64b5644) into msm-4.4 2019-02-08 11:29:51 +05:30
fou.c net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv 2019-04-27 09:34:00 +02:00
gre_demux.c
gre_offload.c net: add recursion limit to GRO 2016-11-15 07:46:38 +01:00
icmp.c This is the 4.4.177 stable release 2019-03-23 09:28:32 +01:00
igmp.c net: igmp: add a missing rcu locking section 2018-02-16 20:09:37 +01:00
inet_connection_sock.c Merge android-4.4.177 (0c3b8c4) into msm-4.4 2019-03-25 12:49:05 +05:30
inet_diag.c net: diag: support v4mapped sockets in inet_diag_find_one_icsk() 2019-04-03 06:23:21 +02:00
inet_fragment.c inet: frags: better deal with smp races 2019-02-08 11:25:33 +01:00
inet_hashtables.c
inet_lro.c
inet_timewait_sock.c soreuseport: initialise timewait reuseport field 2018-05-16 10:06:50 +02:00
inetpeer.c net: ipv4: use a dedicated counter for icmp_v4 redirect packets 2019-02-23 09:05:14 +01:00
ip_forward.c
ip_fragment.c net: ipv4: do not handle duplicate fragments as overlapping 2019-02-08 11:25:33 +01:00
ip_gre.c Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
ip_input.c ipv4: add option to drop unicast encapsulated in L2 multicast 2020-11-03 21:30:19 +01:00
ip_options.c net: avoid use IPCB in cipso_v4_error 2019-03-23 08:44:23 +01:00
ip_output.c This is the 4.4.180 stable release 2019-05-16 22:34:35 +02:00
ip_sockglue.c ip: on queued skb use skb_header_pointer instead of pskb_may_pull 2019-01-26 09:42:49 +01:00
ip_tunnel.c ip_tunnel: Fix name string concatenate in __ip_tunnel_create() 2018-12-13 09:21:29 +01:00
ip_tunnel_core.c ip_tunnel: don't force DF when MTU is locked 2018-11-27 16:07:57 +01:00
ip_vti.c vti4: ipip tunnel deregistration fixes. 2019-06-11 12:23:49 +02:00
ipcomp.c
ipconfig.c ipconfig: Correctly initialise ic_nameservers 2018-08-06 16:24:38 +02:00
ipip.c ipip: only increase err_count for some certain type icmp in ipip_err 2017-11-18 11:11:06 +01:00
ipmr.c ipv4: Fix potential Spectre v1 vulnerability 2019-01-13 10:05:27 +01:00
Kconfig This is the 4.4.148 stable release 2018-08-15 18:23:58 +02:00
Makefile
netfilter.c netfilter: use skb_to_full_sk in ip_route_me_harder 2018-03-18 11:17:51 +01:00
ping.c Merge android-4.4.133 (3f51ea2) into msm-4.4 2018-05-31 12:28:38 +05:30
proc.c tcp: tcp_fragment() should apply sane memory limits 2019-06-17 19:54:22 +02:00
protocol.c
raw.c This is the 4.4.185 stable release 2019-07-10 12:57:28 +02:00
route.c This is the 4.4.198 stable release 2019-10-29 09:47:13 +01:00
syncookies.c This is the 4.4.177 stable release 2019-03-23 09:28:32 +01:00
sysctl_net_ipv4.c Merge android-4.4.182 (9c4ab57) into msm-4.4 2019-06-18 12:42:28 +05:30
sysfs_net_ipv4.c
tcp.c Merge android-4.4.187 (8eb3d65) into msm-4.4 2019-08-07 11:03:21 +05:30
tcp_bic.c
tcp_cdg.c
tcp_cong.c tcp: disallow cwnd undo when switching congestion control 2017-06-14 13:16:19 +02:00
tcp_cubic.c
tcp_dctcp.c tcp: Ensure DCTCP reacts to losses 2019-04-27 09:33:55 +02:00
tcp_diag.c
tcp_fastopen.c tcp: initialize max window for a new fastopen socket 2017-02-04 09:45:09 +01:00
tcp_highspeed.c
tcp_htcp.c
tcp_hybla.c
tcp_illinois.c net/tcp/illinois: replace broken algorithm reference link 2018-05-30 07:49:02 +02:00
tcp_input.c Merge android-4.4.194 (a749771) into msm-4.4 2019-09-24 10:58:13 +05:30
tcp_ipv4.c Merge android-4.4-p.200 (903fbe7) into msm-4.4 2019-11-13 10:41:54 +05:30
tcp_lp.c tcp: fix wraparound issue in tcp_lp 2017-05-14 13:32:58 +02:00
tcp_memcontrol.c
tcp_metrics.c
tcp_minisocks.c tcp: use an RB tree for ooo receive queue 2018-10-13 09:11:34 +02:00
tcp_offload.c
tcp_output.c This is the 4.4.189 stable release 2019-08-11 15:42:33 +02:00
tcp_probe.c
tcp_recovery.c
tcp_scalable.c
tcp_timer.c Merge android-4.4.182 (9c4ab57) into msm-4.4 2019-06-18 12:42:28 +05:30
tcp_vegas.c tcp: fix under-evaluated ssthresh in TCP Vegas 2017-12-25 14:22:15 +01:00
tcp_vegas.h
tcp_veno.c
tcp_westwood.c
tcp_yeah.c tcp: cwnd does not increase in TCP YeAH 2016-09-30 10:18:34 +02:00
tunnel4.c
udp.c Merge android-4.4.177 (0c3b8c4) into msm-4.4 2019-03-25 12:49:05 +05:30
udp_diag.c net: inet: diag: expose the socket mark to privileged processes. 2016-10-12 17:34:22 +05:30
udp_impl.h udplite: call proper backlog handlers 2019-03-23 08:44:29 +01:00
udp_offload.c net: avoid skb_warn_bad_offload false positives on UFO 2017-08-12 19:29:08 -07:00
udp_tunnel.c
udplite.c udplite: call proper backlog handlers 2019-03-23 08:44:29 +01:00
xfrm4_input.c
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c This is the 4.4.181 stable release 2019-06-11 14:23:58 +02:00
xfrm4_protocol.c
xfrm4_state.c
xfrm4_tunnel.c