android_kernel_xiaomi_sm8350/net
Rémi Denis-Courmont 77bd91967a [IPv6] Don't generate temporary for TUN devices
Userland layer-2 tunneling devices allocated through the TUNTAP driver 
(drivers/net/tun.c) have a type of ARPHRD_NONE, and have no link-layer 
address. The kernel complains at regular interval when IPv6 Privacy 
extension are enabled because it can't find an hardware address :

Dec 29 11:02:04 auguste kernel: __ipv6_regen_rndid(idev=cb3e0c00): 
cannot get EUI64 identifier; use random bytes.

IPv6 Privacy extensions should probably be disabled on that sort of 
device. They won't work anyway. If userland wants a more usual 
Ethernet-ish interface with usual IPv6 autoconfiguration, it will use a 
TAP device with an emulated link-layer  and a random hardware address 
rather than a TUN device.

As far as I could fine, TUN virtual device from TUNTAP is the very only 
sort of device using ARPHRD_NONE as kernel device type.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-13 15:01:34 -07:00
..
802 [TOKENRING]: net/802/tr.c: s/struct rif_cache_s/struct rif_cache/ 2005-05-26 12:59:42 -07:00
8021q [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
appletalk [ATALK]: Add alloc_ltalkdev(). 2005-05-05 14:25:59 -07:00
atm [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
ax25 [AX25] Introduce ax25_type_trans 2005-04-24 18:53:06 -07:00
bluetooth [NET]: kill gratitious includes of major.h 2005-04-25 21:40:39 -07:00
bridge [BRIDGE]: receive path optimization 2005-05-29 14:16:48 -07:00
core [NET]: Fix sysctl net.core.dev_weight 2005-06-08 14:56:01 -07:00
decnet [DECNET]: Fix build after C99 netlink initializer change. 2005-05-05 13:13:29 -07:00
econet
ethernet [PATCH] update Ross Biro bouncing email address 2005-05-05 16:36:49 -07:00
ipv4 [IPV4]: Multipath modules need a license to prevent kernel tainting. 2005-06-13 14:29:06 -07:00
ipv6 [IPv6] Don't generate temporary for TUN devices 2005-06-13 15:01:34 -07:00
ipx
irda [PATCH] ISA DMA Kconfig fixes - part 4 (irda) 2005-05-04 07:33:14 -07:00
key
lapb
llc
netlink [NETLINK]: Defer socket destruction a bit 2005-05-19 13:07:32 -07:00
netrom
packet [PATCH] update Ross Biro bouncing email address 2005-05-05 16:36:49 -07:00
rose
rxrpc
sched [NET]: Move the netdev list to vger.kernel.org. 2005-06-13 14:30:40 -07:00
sctp [SCTP] Fix SCTP sendbuffer accouting. 2005-04-28 12:02:04 -07:00
sunrpc [PATCH] DocBook: changes and extensions to the kernel documentation 2005-05-01 08:59:25 -07:00
unix [AF_UNIX]: Use lookup_create(). 2005-05-19 12:26:43 -07:00
wanrouter [PATCH] misc verify_area cleanups 2005-05-01 08:59:08 -07:00
x25
xfrm From: Kazunori Miyazawa <kazunori@miyazawa.org> 2005-05-26 12:58:04 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c [PATCH] update Ross Biro bouncing email address 2005-05-05 16:36:49 -07:00
sysctl_net.c
TUNABLE