created | 2019-01-31T09:59:10Z |
---|---|
begin | 2018-01-09T00:00:00Z |
end | 2018-01-10T00:00:00Z |
path | src/sys |
commits | 10 |
date | 2018-01-09T06:24:14Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if.c | log | diff | annotate |
message |
make mpls_input take a struct ifnet *ifp argument. this makes it like all our other protocol family input functions. mpls_input always looks up the interface the mbuf was received on, but it's always called by code that already has a reference to that interface anyway. the result of this is a few less if_get/if_put calls. ok mpi@ bluhm@ visa@ claudio@ |
date | 2018-01-09T06:24:15Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_ethersubr.c | log | diff | annotate |
src/sys/netinet/ip_ether.c | log | diff | annotate | |
src/sys/netinet/ip_gre.c | log | diff | annotate | |
src/sys/netmpls/mpls.h | log | diff | annotate | |
src/sys/netmpls/mpls_input.c | log | diff | annotate | |
message |
make mpls_input take a struct ifnet *ifp argument. this makes it like all our other protocol family input functions. mpls_input always looks up the interface the mbuf was received on, but it's always called by code that already has a reference to that interface anyway. the result of this is a few less if_get/if_put calls. ok mpi@ bluhm@ visa@ claudio@ |
date | 2018-01-09T10:00:12Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/dev/pci/if_iwn.c | log | diff | annotate |
message |
Do not silently truncate the firmware channel number. Fix build with gcc, ok stsp@ |
date | 2018-01-09T10:08:01Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/net/if_gif.c | log | diff | annotate |
message |
Use ip{,6}_send() instead of ip{,6}_output() to prevent a recursion. if_start() is a boundary between the network stack and drivers. The states it modifies must be protected by the driver, so we should not require the NET_LOCK() there. ok bluhm@, visa@ |
date | 2018-01-09T10:19:25Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/ddb/db_ctf.c | log | diff | annotate |
message | Do not truncate 64bit integers when pretty-printing types. |
date | 2018-01-09T13:48:36Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/linux_ww_mutex.h | log | diff | annotate |
message |
Work around a problem with ww_mutexes in the drm modeset lock. Screen blanks often result in a NULL dereference in __ww_mutex_lock with lock->acquired being non zero and lock->ctx NULL. mpi@ also reported it occuring when switching from Xorg to a virtual terminal. ok mpi@ |
date | 2018-01-09T14:23:03Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/linux_ww_mutex.h | log | diff | annotate |
message |
lock->ctx != NULL => lock->ctx requested by kettenis@ |
date | 2018-01-09T15:14:23Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
src/sys/kern/uipc_socket.c | log | diff | annotate | |
src/sys/kern/uipc_syscalls.c | log | diff | annotate | |
src/sys/netinet/tcp_usrreq.c | log | diff | annotate | |
src/sys/sys/pledge.h | log | diff | annotate | |
src/sys/sys/socketvar.h | log | diff | annotate | |
message |
Change `so_state' and `so_error' to unsigned int such that they can be atomically read from any context. ok bluhm@, visa@ |
date | 2018-01-09T15:24:24Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/if_bridge.c | log | diff | annotate |
src/sys/net/if_etherip.c | log | diff | annotate | |
src/sys/net/if_gif.c | log | diff | annotate | |
src/sys/net/if_gre.c | log | diff | annotate | |
src/sys/net/if_loop.c | log | diff | annotate | |
src/sys/net/if_mpe.c | log | diff | annotate | |
src/sys/net/if_mpw.c | log | diff | annotate | |
src/sys/net/if_pair.c | log | diff | annotate | |
src/sys/net/if_pflog.c | log | diff | annotate | |
src/sys/net/if_pflow.c | log | diff | annotate | |
src/sys/net/if_pfsync.c | log | diff | annotate | |
src/sys/net/if_ppp.c | log | diff | annotate | |
src/sys/net/if_pppoe.c | log | diff | annotate | |
src/sys/net/if_switch.c | log | diff | annotate | |
src/sys/net/if_trunk.c | log | diff | annotate | |
src/sys/net/if_tun.c | log | diff | annotate | |
src/sys/net/if_vether.c | log | diff | annotate | |
src/sys/net/if_vlan.c | log | diff | annotate | |
src/sys/net/if_vxlan.c | log | diff | annotate | |
src/sys/netinet/ip_carp.c | log | diff | annotate | |
message |
Creating a cloned interface could return ENOMEM due to temporary memory shortage. As it is invoked from a system call, it should not fail and wait instead. OK visa@ mpi@ |
date | 2018-01-09T17:50:57Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/net/if.c | log | diff | annotate |
message |
Stop grabing the KERNEL_LOCK() for running protocol input routines. The NET_LOCK() is already held in this thread and is now enough. People interested in ARP/bridge(4)/switch(4)/pipex(4)/pppoe(4) performances can now push the KERNEL_LOCK() without depending on other subsystems/drivers. Tested by Hrvoje Popovski. ok bluhm@, visa@ |