summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-05In iwn(4), set max A-MPDU length to 64k instead of 4k and tell the firmwareStefan Sperling
about A-MPDU spacing. Makes BlockAck happy. tested by me, tb@, krw@, sthen@, and Henrik Friedrichsen
2016-02-05In iwm(4), set max A-MPDU length to 64k instead of 4k and tell the firmwareStefan Sperling
about A-MPDU spacing. Makes BlockAck happy. tested by myself and abieber@
2016-02-05Store ADDBA request and response parameters in the block ack record ofStefan Sperling
ieee80211_node. This way, we can keep track of the ACK policy and echo it back to the AP as required by the standard. And use the correct bit flag for the policy -- this code was confused between BlockAck and ADDBA, both of which have a policy bit but in different places. Fixes apple airport APs. tested by tb@, krw@, sthen@, abieber@, and Henrik Friedrichsen
2016-02-05Implement acpi_get_table_with_size(). Will soon be used to read VFCTMark Kettenis
tables in radeondrm(4).
2016-02-05Fix err(3) calls after allocation failures in examples.Ingo Schwarze
There is long-standing consensus that err(1, NULL) is the best idiom after failure of malloc(3) and friends. Quirk in the manual noticed by tb@.
2016-02-05Only check errno if read() has returned an error. EOF is not an error.Christian Weisgerber
This fixes a problem where the mux master would sporadically fail to notice that the client had exited. ok mikeb@ djm@
2016-02-05return if the bpf_if passed to bpf_tap and _bpf_mtap are NULL.David Gwynne
this works around a toctou bug in a very common idiom in our tree, in between the two lines below: if (ifp->if_bpf) bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_OUT); figured out by and diff from haesbart
2016-02-05Sort includes.Jeremie Courreges-Anglas
2016-02-05No need for pledge("rpath")Jeremie Courreges-Anglas
2016-02-05select -> poll in log message; ok bluhm@ florian@Jeremie Courreges-Anglas
2016-02-05Bail out if an unknown option is passed.Jeremie Courreges-Anglas
There is no reason for rtadvd to be different from other daemons. Input from and ok bluhm@ florian@
2016-02-05Fix a possible use-after-free in vmd, forward the result to theReyk Floeter
control socket before free'ing the vm. Found by and OK jsg@
2016-02-05rtadvd used a strncpy with a src interface name from the command lineReyk Floeter
without checking its length. Replace it with strlcpy, check for truncation and move the check before using the user-specified interface name. While here, replace another strncpy of a interface name with memset-zero + strlcpy and check for truncation in if_getmtu() (should not happen as we validated the length before, but it's better to be safe and generally a better practice). OK jsg@
2016-02-05Simple moderation of Tx completion notificationsMike Belopuhov
Follow FreeBSD and schedule the next Tx completion event to fire when about half of the packet segments scheduled for transmission are consumed.
2016-02-05Silence warnings from static analyzers; found by jsg@Mike Belopuhov
2016-02-05Do not wrap cursor at start or end of history, from Michal Mazurek.Nicholas Marriott
2016-02-05pledge(2) for talk(1):mestre
At the beginning the largest pledge is the following: rpath: read ~/.terminfo (the reason was changed pointed out by semarie@) inet/dns: talk may need to connect to a remote host and resolve it getpw: if getlogin(2) fails then it needs getpwuid(3) as a fallback tty: this is a typical tty application, so it'll always need this annotation Then just before the application main loop check if the talk is with local user so it only needs "stdio tty", if it's remote then it needs "stdio inet tty". I couldn't test this with a remote host to confirm if it needs inet or not but as per jca@'s comment "tighter settings - if possible - can happen later" ok jca@ and also discussed with tb@
2016-02-05pledge(2) for talkd(8):mestre
rpath: fopen(3) _PATH_UTMP in read mode wpath/cpath: fopen(3) full_tty in write mode (w), which implies O_CREAT inet/dns: the intervening hosts in the conversation may be remote, or not, but since we will never know beforehand then it'll always need inet and dns to resolve the hostnames ok jca@ and also discussed with tb@
2016-02-05Improve Linux PCI compatibility code.Mark Kettenis
2016-02-05Fix a pci vendor/device conversion missed in rev 1.6.Mark Kettenis
2016-02-05RegenMasao Uebayashi
2016-02-05Add ipmi(4) cdev entry on amd64 and i386Masao Uebayashi
2016-02-05Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4)Masao Uebayashi
Initial help & testing by jmatthew@ Code review & input by mpi@ Final review & OK by jsg@
2016-02-05avoid an uninitialised value when NumberOfPasswordPrompts is 0Jonathan Gray
ok markus@ djm@
2016-02-05avoid an uninitialised value in a return path added in rev 1.5Jonathan Gray
ok tobias@
2016-02-05mention internal DH-GEX fallback groups; bz#2302Damien Miller
2016-02-05better description for MaxSessions; bz#2531Damien Miller
2016-02-04printf argument casts to avoid warnings on strict compilersDamien Miller
2016-02-04fix memory leakEric Faurot
ok gilles@ jung@
2016-02-04Convert sigemptyset and sigfillset to inline functions to avoidTodd C. Miller
warnings with newer gcc versions and -Werror=unused-value. OK guenther@
2016-02-04Make iwn(4) pass 802.11 control frames in monitor mode.Stefan Sperling
Now we can see rts/cts, ack, blockack etc. in tcpdump(8). ok kettenis@
2016-02-04In iwn(4), don't forget about restoring the CCMP key to firmware afterStefan Sperling
HT protection setting updates. Unbreaks WPA in 11n mode. ok sthen@
2016-02-04Make code more readable by putting the message parsing logic in a single place.Eric Faurot
ok gilles@ sunil@ jung@
2016-02-04Include stdint.h for the uint{8,16}_t types. OK nicm@Todd C. Miller
2016-02-04Restore the BlockAck session timer. It is still required to work aroundStefan Sperling
stalled BA sessions observed with iwn(4). We can revisit this later once the underlying problem in iwn(4) has been found. Prompted by report from krw@, I could reproduce the issue. ok krw@
2016-02-04Set up -t flag properly when passing new-session -A off toNicholas Marriott
attach-session, GitHub issue 295.
2016-02-04Bail early if there's no token; found by jsg@Mike Belopuhov
2016-02-04Minor ldapd -r tweaksJeremie Courreges-Anglas
- fix style - the string pointed to by datadir shouldn't be modified, use const - initialize datadir at compile time - in namespace.c, move the extern datadir decl above local decls
2016-02-04When deleting a message, remove associated envelopes from the cache,Eric Faurot
if any (it happens when a message transaction is cancelled). ok gilles@ sunil@
2016-02-04Prevent signed overflow when calculating i_modrev initial valueMike Belopuhov
Reported and fixed by Martin Natano <natano at natano ! net>, thanks! ok stefan
2016-02-04Fix an infinite loop when printing a country element in a managementStefan Sperling
frame in case we hit channel Tx power limits we can't pretty-print. Also ensure we consume the last item in this list. ok sthen@
2016-02-04syncStuart Henderson
2016-02-04Some (buggy) UEFI implementations don't report the correct framebufferMark Kettenis
parameters unless SetMode() has been called, even if we don't actually change the mode. Other (equally buggy) UEFI implementations report an error if we call SetMode() but don't actually change the mode. Work around these issues by always calling SetMode() (like we did before rev 1.10), but don't report an error if the current mode is the same as the desired mode. ok yasuoka@
2016-02-04Fix an unitialized variable; pointed out by jsg@.Masao Uebayashi
2016-02-04If the ROM size is 0, we won't be able to read the video BIOS from it.Mark Kettenis
Bail out early to prevent a panic from calling bus_space_map(9) with size 0.
2016-02-03syncJonathan Gray
2016-02-03Do not access the scsi link of the disk at the beginning of sdopen()Alexander Bluhm
and sdminphys() if the scsi disk is dying. The memory of the link may have been freed already. OK krw@
2016-02-03update the font cache by running fc-cache after removing packagesRobert Nagy
with @fontdir markers ok espie@
2016-02-03Make tcpdump show 802.11 control frames.Stefan Sperling
ok kettenis@, and help from David Vasek (thanks!)
2016-02-03Rename a local var so that we can call the global message buffer msg.mmcc
ok nicm, tb