busybox/networking
Denys Vlasenko ed898ed2dd udhcp6: fix releasing
Patch is based on work by tiggerswelt.net. They say:
"
We wanted udhcpc6 to release its IPv6-Addresses on
quit (-R-commandline-option) which turned out to generate once again
kind of garbage on the network-link.
We tracked this down to two issues:

 - udhcpc6 uses a variable called "srv6_buf" to send packets to
   the dhcp6-server, but this variable is never initialized correctly
   and contained kind of a garbage-address

 - The address of the dhcp6-server is usually a link-local-address,
   that requires an interface-index when using connect() on an AF_INET6-
   socket

We added an
additional parameter for ifindex to d6_send_kernel_packet() and made
d6_recv_raw_packet() to capture the address of the dhcp6-server and
forward it to its callee.
"

Three last patches together:

function                                             old     new   delta
d6_read_interface                                      -     454    +454
d6_recv_raw_packet                                     -     283    +283
option_to_env                                        249     504    +255
.rodata                                           165226  165371    +145
send_d6_discover                                     195     237     +42
send_d6_select                                       118     159     +41
send_d6_renew                                        173     186     +13
send_d6_release                                      162     173     +11
opt_req                                                -      10     +10
d6_send_kernel_packet                                304     312      +8
opt_fqdn_req                                           -       6      +6
d6_mcast_from_client_config_ifindex                   48      51      +3
d6_find_option                                        63      61      -2
udhcpc6_main                                        2416    2411      -5
static.d6_recv_raw_packet                            266       -    -266
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 8/2 up/down: 1271/-273)         Total: 998 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-03-27 22:44:22 +02:00
..
libiproute fix breakage found by mass one-applet builds 2016-12-23 02:42:26 +01:00
ssl_helper networking/ssl_helper: experimental matrixssl-based ssl helper 2014-02-23 23:31:13 +01:00
ssl_helper-wolfssl Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
udhcp udhcp6: fix releasing 2017-03-27 22:44:22 +02:00
arp.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
arping.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
brctl.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
Config.src Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS 2017-01-03 12:29:52 +01:00
dnsd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ether-wake.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ftpd.c ftpd/ls: show directories first 2017-01-25 04:52:45 +01:00
ftpgetput.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
hostname.c *: add comment about APPLET_ODDNAME format 2017-01-29 14:57:33 +01:00
httpd_helpers.sh Update information on building httpd and wget helpers 2016-12-22 15:13:37 +01:00
httpd_indexcgi.c httpd_indexcgi.c: fix compile failure 2012-09-03 12:20:10 +02:00
httpd_post_upload.cgi Make POST upload example script easier to use 2016-12-22 15:33:11 +01:00
httpd_ssi.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
httpd.c httpd: use "Content-Length", not "-length" 2017-02-04 23:19:30 +01:00
ifconfig.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifenslave.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifplugd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ifupdown.c *: add comment about APPLET_ODDNAME format 2017-01-29 14:57:33 +01:00
inetd.c make --help texts smaller 2017-01-21 03:46:57 +01:00
interface.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
ip.c ip: better --help 2017-01-21 14:27:07 +01:00
ipcalc.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
isrv_identd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
isrv.c libbb: introduce kernel-style BUILD_BUG_ON() 2015-10-13 14:50:20 +02:00
isrv.h fixlet for the previous commit #2 2014-01-09 20:09:43 +01:00
Kbuild.src Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nameif.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
nbd-client.c *: more BUILD_BUG_ON conversions 2015-10-13 17:17:34 +02:00
nc_bloaty.c nc_bloaty: use poll() instead of select() 2017-02-17 17:48:59 +01:00
nc.c nc: use poll() instead of select() 2017-02-16 17:17:17 +01:00
netstat.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
nslookup.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ntpd.c ntpd: print result of hostname resolution 2017-01-19 14:42:34 +01:00
ntpd.diff ntpd: add experimental patch 2016-03-04 07:36:04 +01:00
ping.c make --help texts smaller 2017-01-21 03:46:57 +01:00
pscan.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
route.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
slattach.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
ssl_client.c separate TLS code into a library, use in in wget 2017-01-23 01:08:16 +01:00
tc.c ip: better --help 2017-01-21 14:27:07 +01:00
tcpudp_perhost.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp_perhost.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
tcpudp.c tcpudp: define SO_ORIGINAL_DST directly, not via include 2017-01-02 10:46:08 +01:00
telnet.c Move FEATURE_AUTOWIDTH config option to two applets which use it 2017-01-11 16:35:52 +01:00
telnetd.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
telnetd.ctrlSQ.patch *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
telnetd.IAC_test.sh telnetd: fix corner case of input processing of 0xff bytes 2016-10-12 19:13:46 +02:00
tftp.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
tls_aes.c tls: fold AES CBC en/decryption into single functions 2017-02-04 16:23:49 +01:00
tls_aes.h tls: fold AES CBC en/decryption into single functions 2017-02-04 16:23:49 +01:00
tls_pstm_montgomery_reduce.c tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_pstm_mul_comba.c tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_pstm_sqr_comba.c tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_pstm.c whitespace fix 2017-03-24 15:00:12 +01:00
tls_pstm.h tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_rsa.c tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_rsa.h tls: commented out psPool_t use 2017-01-19 15:51:00 +01:00
tls_symmetric.h tls: set TLS_DEBUG to 0; placate a gcc indentation warning 2017-01-23 01:15:13 +01:00
tls.c tls: covert i/o loop from using select() to poll() 2017-02-16 16:51:18 +01:00
tls.h tls: tested PSTM_X86_64, not enabling it - too large 2017-01-19 16:32:38 +01:00
traceroute.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
tunctl.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
vconfig.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00
wget.c wget: add a big explanation what TLS code implements and what does not 2017-01-30 16:27:37 +01:00
whois.c getopt32: add new syntax of 'o:+' and 'o:*' for -o NUM and -o LIST 2016-07-06 21:58:02 +02:00
zcip.c Convert all networking/* applets to "new style" applet definitions 2016-11-23 09:05:14 +01:00