OpenBSD src changes summary for 2016-11-18
==========================================

lib/libcrypto                           sbin/ifconfig
sys/arch/loongson/include               sys/arch/loongson/loongson
sys/dev/pci                             sys/net
sys/netinet                             sys/netinet6
usr.bin/printf                          usr.sbin/smtpd
usr.sbin/snmpd                          usr.sbin/switchctl
usr.sbin/switchd                        usr.sbin/tcpdump

== lib =============================================================== 01/05 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib

libcrypto

  ~ man/BIO_new.3                         

  > Add Copyright and license.
  > Document that BIO_free(3), BIO_vfree(3), and BIO_free_all(3) accept NULL.
  > Delete the useless statement that void functions return no value.
  > (schwarze@)

  ~ man/BIO_read.3                        

  > Add Copyright and license.
  > Bring in two clarifying sentences from OpenSSL. (schwarze@)

  ~ man/BIO_s_accept.3                    

  > Add Copyright and license.
  > Bring in a bug fix and the new RETURN VALUES section from OpenSSL.
  > (schwarze@)

  ~ man/BIO_s_bio.3                       

  > Add Copyright and license.
  > In the SYNOPSIS, provide prototypes rather than #define directives.
  > Bring in improvements to the EXAMPLES section from OpenSSL. (schwarze@)

  ~ man/BIO_s_connect.3                   

  > Add Copyright and license.
  > Bring in one clarifying sentence from OpenSSL. (schwarze@)

  ~ man/BIO_s_fd.3                        

  > Add Copyright and license.
  > Mention that BIO_set_fd(3) and BIO_get_fd(3) are macros.
  > Delete off-topic sentences about the return values of BIO_seek(3),
  > BIO_reset(3), and BIO_tell(3). (schwarze@)

  ~ man/BIO_push.3                        ~ man/BIO_s_file.3
  ~ man/BIO_s_mem.3                       ~ man/BIO_s_null.3
  ~ man/BIO_s_socket.3                    

  > Copyright and license. (schwarze@)

  ~ man/Makefile                          + man/BIO_get_ex_new_index.3

  > import from OpenSSL;
  > the referenced CRYPTO_get_ex_new_index(3) will follow shortly (schwarze@)

  ~ man/BIO_get_ex_new_index.3            

  > fix double word; (jmc@)

== sbin ============================================================== 02/05 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin

ifconfig

  ~ brconfig.c                            

  > Make the ifconfig switch0 output nicer using a single line and the
  > same keys as the actual commands (datapath, maxgroup, flowmax).
  > flowmax should eventually renamed to maxflow for consistency.
  > OK rzalamena@ (reyk@)

== sys =============================================================== 03/05 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys

arch/loongson/include

  ~ asm.h                                 

  > Use the ErrorEPC register for curcpu(). (visa@)

arch/loongson/loongson

  ~ locore.S                              

  > Use the ErrorEPC register for curcpu(). (visa@)

  ~ generic3a_machdep.c                   

  > Fix end of interrupt routine to make pciide(4) work.
  > Clue stick from miod@ (visa@)

dev/pci

  ~ ixgbe_type.h                          ~ ixgbe_x550.c

  > Remove virtualization-related bits (mikeb@)

  ~ ixgbe_phy.c                           

  > Remaining PHY bits; call SFP module detection code for X550 as well
  > (mikeb@)

  ~ if_ix.c                               

  > Minor code restructuring
  > - separate functions for delay value calculation and figuring out
  > whether or not we're doing SFP.
  > - MAC type detection is now done by ixgbe_set_mac_type;
  > - call {enable,disable}_tx_laser conditionally;
  > - unused TSO code bites the dust;
  > - default to "IFM_ETHER | IFM_AUTO" when we can't select any other
  > media type. (mikeb@)

  ~ if_ix.c                               

  > Reduce difference in ixgbe_initialize_receive_units to FreeBSD;
  > no binary change. (mikeb@)

  ~ if_ix.c                               ~ ixgbe_type.h

  > Support for new GPI signals, including X550 external PHY interrupt
  > This factors out the code configuring General Purpose Interrupts into
  > a separate function and provides LASI (Link Alarm Status Interrupt)
  > handler used by controllers in the X550 family lacking integrated PHY.
  > (mikeb@)

  ~ if_ix.c                               

  > Recognize active SPF+ DA modules as IFM_10G_SFP_CU
  > Reported and tested by Hrvoje Popovski, thanks! (mikeb@)

  ~ if_ix.c                               

  > Sync some changes for ixgbe_initialize_receive_units
  > Call a chip specific method to disable RX unit;
  > DPF (Drop [Unicast] Pause Frames) and PMCF (Pass MAC Control Frames)
  > bits should only be enabled on 82598 since others don't document them.
  > (mikeb@)

net

  ~ pipex.c                               

  > turn ipstat into a set of percpu counters.
  > each counter is identified by an enum value which correspond to the
  > original members of the udpstat struct.
  > udpstat_inc(udps_foo) replaces udpstat.udps_foo++ for the actual
  > updates. udpstat_inc is a thin wrapper around counters_inc.
  > counters are still returned to userland via the udpstat struct for
  > now.
  > ok mpi@ mikeb@ deraadt@ (dlg@)

  ~ ofp.h                                 

  > Fix some style issues in header file:
  > - Use the right amount of zeros to match the header bit length;
  > - Use hex instead of bit shifting; (rzalamena@)

  ~ ofp.h                                 

  > OpenFlow has a very simple finite state machine that is only
  > indirectly documented in the specification.  Add the states to the
  > header as it is important for all implementations.  Both switch(4) and
  > switchd(8) have to be updated to follow the fsm instead of answering
  > any requests at any time.
  > OK rzalamena@ (reyk@)

  ~ ofp.h                                 

  > Add more documentation to header definitions that were missing.
  > (rzalamena@)

  ~ ofp.h                                 

  > remove 'OpenFlow' prefix from version comments (reyk@)

  ~ ofp.h                                 

  > Revert previous, I confused the columns (reyk@)

  ~ ofp.h                                 

  > Add more maps to print.  As discussed with rzalamena@ (reyk@)

  ~ switchofp.c                           

  > Fix a panic introduced with the memory leak correction. Use the saved
  > length instead of the packet instruction length to free the old
  > instruction.
  > ok reyk@ (rzalamena@)

  ~ ofp.h                                 ~ switchofp.c

  > Define a group_id map and rename the defines accordingly.
  > Requested by rzalamena@ (reyk@)

netinet

  ~ ip_output.c                           ~ udp_usrreq.c
  ~ udp_var.h                             

  > turn ipstat into a set of percpu counters.
  > each counter is identified by an enum value which correspond to the
  > original members of the udpstat struct.
  > udpstat_inc(udps_foo) replaces udpstat.udps_foo++ for the actual
  > updates. udpstat_inc is a thin wrapper around counters_inc.
  > counters are still returned to userland via the udpstat struct for
  > now.
  > ok mpi@ mikeb@ deraadt@ (dlg@)

netinet6

  ~ ip6_output.c                          ~ udp6_output.c

  > turn ipstat into a set of percpu counters.
  > each counter is identified by an enum value which correspond to the
  > original members of the udpstat struct.
  > udpstat_inc(udps_foo) replaces udpstat.udps_foo++ for the actual
  > updates. udpstat_inc is a thin wrapper around counters_inc.
  > counters are still returned to userland via the udpstat struct for
  > now.
  > ok mpi@ mikeb@ deraadt@ (dlg@)

== usr.bin =========================================================== 04/05 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin

printf

  ~ printf.c                              

  > Delete useless call to setlocale(3).
  > While the C library function printf(3) is used here and is
  > locale-dependent, the printf(1) utility does not use the locale
  > dependent parts %lc and %ls.  While POSIX requires LC_NUMERIC
  > support, we intentionally don't implement that in printf(3).
  > In summary, no functional change.
  > While here, sort headers and use the usual __dead usage() idiom.
  > Based on a patch from Jan Stary <hans at stare dot cz>.
  > OK bentley@ (schwarze@)

  ~ printf.1                              

  > Fix two documentation bugs:
  > 1. Specifying a precision for the %s format character limits the number
  > of bytes printed, not the number of characters.
  > 2. Document the intentional POSIX violation of ignoring the locale.
  > Feedback and OK jmc@, bentley@. (schwarze@)

== usr.sbin ========================================================== 05/05 ==

  http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

smtpd

  ~ mta_session.c                         ~ smtp_session.c

  > fix regression introduced in previous commit
  > spotted by Heiko Zimmermann
  > ok gilles@ (eric@)

snmpd

  ~ control.c                             ~ parse.y
  ~ snmpd.h                               ~ snmpe.c
  ~ traphandler.c                         

  > Add support for multiple listening sockets
  > One can now specify multiple "listen on" statements. The default is to
  > listen on 0.0.0.0 and ::, which means better handling of dual-stack
  > setups.  ok sthen@ on a previous version, input and ok reyk@. (jca@)

switchctl

  ~ ofpclient.c                           

  > Unbreak the tree: OFP_GROUP_ANY was renamed to OFP_GROUP_ID_ANY.
  > fix found joint with rpe, ok reyk (tb@)

switchd

  ~ genmap.sh                             

  > Fix file reference in generated comment OK rzalamena@ (reyk@)

  ~ genmap.sh                             

  > Define the struct constmap in each generated C file. (reyk@)

  ~ ofp13.c                               

  > Fix the flowmod header to send the correct command and buffer id.
  > OK rzalamena@ (reyk@)

  ~ ofp13.c                               

  > Small code improvements:
  > - Free ibufs on validation failures;
  > - Don't use htons() for flow-mod command;
  > ok reyk@ (rzalamena@)

  ~ genmap.sh                             

  > Exclude the description field from the generated maps by default. (reyk@)

  ~ ofp_map.h                             

  > Add more maps to print.  As discussed with rzalamena@ (reyk@)

  ~ ofp_map.h                             ~ switchd.h
  ~ types.h                               

  > Remove leading _ from include guards as this violates the reserved space.
  > (reyk@)

  ~ genmap.sh                             ~ ofp_map.h
  ~ switchd.h                             ~ types.h

  > Define constmap in ofp_map.h to be shared along with ofp_map.c (reyk@)

  ~ ofp13.c                               ~ ofp_map.h

  > Define a group_id map and rename the defines accordingly.
  > Requested by rzalamena@ (reyk@)

  ~ ofp13.c                               

  > Make switchd(8) use more strings just like tcpdump(8). While here remove
  > action field display from features request. (rzalamena@)

  ~ ofp10.c                               ~ ofp13.c

  > The special LOCAL and CONTROLLER ports are valid source ports that
  > should be learned by the cache.  Fixes "addlocal" ports on switch(4).
  > OK rzalamena@ (reyk@)

tcpdump

  ~ Makefile                              ~ print-ofp.c
  + ofp_map.c                             + ofp_map.h

  > Updates tcpdump's OpenFlow printer to use the string maps from switchd
  > (manually synced).  Also make the output a bit more like other printers.
  > OK rzalamena@ (reyk@)

  ~ print-ofp.c                           

  > miss_send_len can also be a CONTROLLER_MAXLEN string not just a number.
  > Requested by rzalamena@ (reyk@)

  ~ print-ofp.c                           

  > Don't print the field 'actions' on features reply, because in the new
  > OpenFlow 1.3.5 it is a reserved field that is not being used. (rzalamena@)

  ~ print-ofp.c                           

  > Add support for printing the missing OpenFlow set-queue action.
  > (rzalamena@)

===============================================================================
_______________________________________________
odc mailing list
[email protected]
http://www.squish.net/mailman/listinfo/odc

Reply via email to