summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
ever used to pass on uint32 (for ipsec). stop that madness and just pass the uint32, 0 in all cases but the two that pass the ipsec flowinfo. ok deraadt reyk guenther
2014-04-21Fix off-by-one error in PG_LGFRAME maskPhilip Guenther
ok mlarkin@
2014-04-21we'll do fine without casting NULL to struct foo * / void *Henning Brauer
ok gcc & md5 (alas, no binary change)
2014-04-21remove a define in an #ifdef notyet - "not yet" for 19 years gotta beHenning Brauer
enough. remove a define in an #ifdef notdef /* obsolete */ - 14 years are enough
2014-04-21annotate all #endifs to make clear what #if(def) they endHenning Brauer
2014-04-21cosmetic changes regarding #ifdef to make things more obvious, ok reykHenning Brauer
2014-04-21In qla_get_port_name_list, handle malloc failure, skip special fabric ports,Jonathan Matthew
and set location on ports as best we can. Take the port mutex too.
2014-04-20regenStefan Sperling
2014-04-20Add device ID for Ralink (now branded Mediatek) MT7601 USB wifi deviceStefan Sperling
2014-04-20move in6_cksum_phdr from in6.h to ip6_output.c to mirror in_cksum_phdrChristian Weisgerber
ok henning@
2014-04-20factor our ether_addheader for readability; there's more to come thereHenning Brauer
ok claudio reyk
2014-04-20ether_output: instead of assembling the ethernet header and then callingHenning Brauer
carp_rewrite_lladdr to overwrite the src lladdr, get the intended src lladdr before assembling the ethernet header. carp_rewrite_lladdr -> carp_get_srclladdr ok reyk claudio
2014-04-20ether_output: instead of using an esrc buffer in which we copy the intendedHenning Brauer
src lladdr just to copy it from the esrc buffer into the ethernet header a few lines later, use an esrc pointer to figure out where to copy the src lladdr from. ok claudio reyk
2014-04-20More dead stores removal in subr_hibernate.cMike Larkin
2014-04-20When switching rdomains the sadl needs to be removed and re-added from theClaudio Jeker
RB lookup tree because the rdomain id is part of the lookup key. Without this the RB tree gets corrupted and in the worst case a use after free can happen when the interface is destroyed. Why the sadl addresses are added to the tree in the first place is something to reconsider. OK henning@, mpi@, sthen@
2014-04-20Update hotplug. Add qle_get_port_name_list, use it to discover localJonathan Matthew
loop ports and other fabric ports that have logged in to us, and check that we're still logged in to other fabric ports. Rearrange the update processing loop so we attach and detach targets last, since we need to get all the way through before we've identified what's gone missing. Handle fabric port login errors a bit more usefully too.
2014-04-20move in_cksum_phdr from in.h (under #ifdef _KERNEL, at least) to ip_output.cHenning Brauer
nothing except in_proto_cksum_out() uses it any more, and that's a good thing. was on tech for 3 months, discussed with many
2014-04-20nuke in_cksum_addword()Henning Brauer
don't we all love functions implemented in header files? was under #ifdef _KERNEL at least. incremental checksum updates don't really make sense any more, this is incredibly hard to get right, and doesn't fit the way our kernel deals with the checksums these days. consequently, nothing uses in_cksum_addword any more. was on tech for 3 months, tested by & discussed with many.
2014-04-20make the status handler more like rdac and emc. the big functional changeDavid Gwynne
is to check xs->status on completion to make sure it worked.
2014-04-20emc on my cx500 works as well as rdac on all my rebadged engenio kit.David Gwynne
2014-04-19kill checksum offloading in sk.Henning Brauer
it was RX only, nothing on the TX side rather complex, might eat up (or more) offloading benefits in many cases the hardware miscomputes the cksums sometimes, so we don't trust it claiming a cksum is bad and re-do the cksum verification in sw then... (but we trust it to not mark bad ones good? hmmmmmmmmm.) diff was on tech for 3 months, nobody disagreed, everybody who spoke up agrees or doesn't care. pretty exactly a revert of the cksum offloading addition years ago, tested by several, the only report i quickly find now is from David Higgs <higgsd at gmail dot com>, thanks!
2014-04-19Dead stores in subr_hibernate.cMike Larkin
2014-04-19bye byeHenning Brauer
2014-04-19disgusting altq compat hack goes awayHenning Brauer
2014-04-19now that if_snd is a proper ifqueue, this cast diesHenning Brauer
2014-04-19ifnet's if_snd becomes a regular ifqueue instead of ifaltq, the need toHenning Brauer
keep ifqueue and ifaltq in sync is gone and thus the comment obsolete, and finally there is no more need to include if_altq.h either
2014-04-19minus altq tentacles, plus missing IF_DROP here as wellHenning Brauer
2014-04-19sigh, another driver fiddling with altq outside #ifdef ALTQHenning Brauer
2014-04-19kill altq bits here as wellHenning Brauer
2014-04-19shrink pf by 445 lines.Henning Brauer
while there, get rid of the altq ioctls and assciated now obsolete code
2014-04-19remove the altq enable/attach and disable/detach bitsHenning Brauer
2014-04-19bye bye altq bitsHenning Brauer
2014-04-19another questionable "optimization": de used tulip_ifstart_one insteadHenning Brauer
of tulip_ifstart if the sendqueue was empty, but only if altq wasn't compiled in (i. e., that's a _compile time_ decision and not based on wether altq was actually used). just use tulip_ifstart all the time, as before in our regular kernels. kill tulip_ifstart_one completely. makes sense to sthen
2014-04-19remove very questionable altq "optimization" - claudio and I can'tHenning Brauer
convince ourselves that that was right to begin with. anyway, begone.
2014-04-19all I wanted to do is removing the altq special casing, but then it turnedHenning Brauer
out the entire codepath is unreachable. glad I'm not our ppp maintainer, he has work to do. kill that unreachable code, with & ok claudio
2014-04-19remove altq special casing.Henning Brauer
big WTF regarding the fastq use there while verifying w/ claudio, but that's for the ppp maintainer and unrelated
2014-04-19Don't panic if we're trying to disestablish an MSI but the hardware is gone.Mark Kettenis
tested by & ok mlarkin@
2014-04-19the altq versions of the IFQ_* macros can finally go. chances of thisHenning Brauer
file becoming readable increase.
2014-04-19 /*Henning Brauer
* altq for loop is just for debugging. * only used when called for loop interface (not for * a simplex interface). */ bye bye!
2014-04-19-option ALTQHenning Brauer
ALTQ has served us well for years and was extremely important not just for us, but for the entire bandwidth management arena. Back when we got altq, the subject was not yet well researched and understood, which is why altq is the framework with pluggable schedulers it is. Kenjiro Cho (kjc@) did an amazing job there. Now, more than 10 years later, we do have a good understanding and can use a simpler framework with just one priority queueing and one bandwidth shaping mechanism each - the new queueing subsystem. Last not least because it is incredibly painful to maintain both in parallel, it is time for altq to depart. Farewell, thanks for many years of good service. Everybody using any form of "not just fifo" queueing owes Kenjiro a lot. At least buy him a beer when you meet him. And, allow me this personal note, thanks Kenjiro, working with you on the topic has always been a great pleasure and I learned a lot from you. Thanks!
2014-04-19move scsi_xs_put after checks that use fields in the xsJonathan Matthew
ok dlg@
2014-04-19implement emc_mpath_checksense() according to what my cx500 throws.David Gwynne
tested by jmatthew@
2014-04-18There is no need to initialize globals to 0.Claudio Jeker
2014-04-18rename wd33c93 to wd33c93ctrl (but keep the filenames as is) so we canJasper Lievisse Adriaanse
add attributes to it later; as wd33c93 is not a valid device name. ok miod@
2014-04-18For the WSDISPLAY_COMPAT_USL protocol, send the synchronizing signals toPhilip Guenther
the process, not just the thread. ok kettenis@
2014-04-18Remove the dead KAME code that dealt with IPv4-mapped IPv6 addresses.Jeremie Courreges-Anglas
Add a check for IPv4-mapped IPv6 destination addresses, like in the most recent KAME code, for non-connected sockets. This prevents packets from reaching the wire through the default route, if a reject route for ::ffff:0.0.0.0/96 isn't present. ok claudio@
2014-04-18This remnant comment doesn't belong here. ok claudio@Jeremie Courreges-Anglas
2014-04-18reaching into altq outside #ifdef ALTQ is bad, mmkay? ok claudioHenning Brauer
2014-04-18tcp_respond: let the stack worry about the cksum instead of doing itHenning Brauer
manually, ok naddy (in january)
2014-04-18pf_send_tcp: ask the stack to do the cksum instead of doing it manuallyHenning Brauer
ok benno lteo naddy (back in january)