android_kernel_xiaomi_sm8350/net/core
Neil Horman 47bbec0282 [NETPOLL]: make arp replies through netpoll use mac address of sender
Back in 2.4 arp requests that were recevied by netpoll were processed
in netconsole_receive_skb, where they were responded to using the src
mac of the request sender.  In the 2.6 kernel arp_reply is responsible
for this function, but instead of using the src mac address of the
incomming request, the stored mac address that was registered for the
netconsole application is used.  While this is usually ok, it can lead
to failures in netpoll in some situations (specifically situations
where a network may have two gateways, as arp requests from one may be
responded to using the mac address of the other).  This patch reverts
the behavior to what we had in 2.4, in which all arp requests are sent
back using the src address of the request sender.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Chris Lalancette <clalance@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-12-08 17:19:28 -08:00
..
datagram.c [NET]: Annotate __skb_checksum_complete() and friends. 2006-12-02 21:23:38 -08:00
dev_mcast.c
dev.c [PATCH] hotplug CPU: clean up hotcpu_notifier() use 2006-12-07 08:39:39 -08:00
dst.c [PATCH] slab: remove SLAB_ATOMIC 2006-12-07 08:39:24 -08:00
ethtool.c
fib_rules.c [NETLINK]: Do precise netlink message allocations where possible 2006-12-02 21:22:11 -08:00
filter.c [NET] net/core: Annotations. 2006-12-02 21:22:49 -08:00
flow.c [PATCH] hotplug CPU: clean up hotcpu_notifier() use 2006-12-07 08:39:39 -08:00
gen_estimator.c
gen_stats.c
iovec.c [NET]: Annotate csum_partial() callers in net/* 2006-12-02 21:23:32 -08:00
kmap_skb.h [PATCH] severing skbuff.h -> highmem.h 2006-12-04 02:00:29 -05:00
link_watch.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
Makefile [NET]: The scheduled removal of the frame diverter. 2006-12-02 21:22:23 -08:00
neighbour.c [NET]: Convert hh_lock to seqlock. 2006-12-08 17:19:20 -08:00
net-sysfs.c
netevent.c
netpoll.c [NETPOLL]: make arp replies through netpoll use mac address of sender 2006-12-08 17:19:28 -08:00
pktgen.c [NET] net/core: Annotations. 2006-12-02 21:22:49 -08:00
request_sock.c [NET]: Size listen hash tables using backlog hint 2006-12-02 21:21:44 -08:00
rtnetlink.c [RTNETLINK]: Add rtnl_put_cacheinfo() to unify some code 2006-12-02 21:30:44 -08:00
scm.c [NET]: File descriptor loss while receiving SCM_RIGHTS 2006-10-11 23:59:48 -07:00
skbuff.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
sock.c [PATCH] lockdep: annotate nfs/nfsd in-kernel sockets 2006-12-07 08:39:30 -08:00
stream.c
sysctl_net_core.c [NET]: The scheduled removal of the frame diverter. 2006-12-02 21:22:23 -08:00
user_dma.c
utils.c [NET]: Accept wildcard delimiters in in[46]_pton 2006-12-02 22:04:04 -08:00
wireless.c [NET]: Memory barrier cleanups 2006-12-07 00:11:33 -08:00