Commit Graph

242036 Commits

Author SHA1 Message Date
macallan
b1ae921ac6 cgfourteen needs vcons 2016-04-21 18:27:29 +00:00
macallan
edfa954b52 fix some tpyos, add some comments 2016-04-21 18:24:02 +00:00
macallan
945536925d more RASTERCONSOLE purging 2016-04-21 18:10:57 +00:00
macallan
6cb3d5c739 RASTERCONSOLE is gone, wsdisplay no longer optional 2016-04-21 18:06:06 +00:00
macallan
13f197f799 RASTERCONSOLE is no more 2016-04-21 17:59:18 +00:00
skrll
6e4fa334ab Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect
Fixes PR/51066: C++ text relocations
2016-04-21 16:09:16 +00:00
skrll
b3745dc9c0 autoconf(9) requires the kernel_lock so take it while discovering new
devices.

PR/51081: calling ioctl while attaching wifi device causes a jump to NULL
2016-04-21 15:42:56 +00:00
ozaki-r
e53ad40782 Fix tests for blackhole routes
The gateway of a blackhole route must be a loopback interface.
2016-04-21 09:46:49 +00:00
mrg
0010df8996 regenerate mknative-gcc for GCC 4.8 and *arm* 2016-04-21 07:24:09 +00:00
mrg
814d336214 set _OUTDIR and _OUTDIRBASE properly for gcc.old, and fix a sed. 2016-04-21 07:22:15 +00:00
ozaki-r
2223b893c1 Add tests of route flags using IPv6 addresses 2016-04-21 05:10:15 +00:00
ozaki-r
c325d0ca4f Fix RTF_{REJECT,BLACKHOLE} behavior for IPv6 routes
We still need a nexthop route to reflect RTF_{REJECT,BLACKHOLE}.
In the future, we would do it w/o looking up a route.
2016-04-21 05:07:50 +00:00
christos
d5fc259be3 WARNS=1 2016-04-20 17:18:52 +00:00
christos
a56964c222 /32 and /128 are valid netmasks. 2016-04-20 15:46:08 +00:00
christos
5d9808ec41 Don't subtract base if not pie. 2016-04-20 14:00:16 +00:00
knakahara
b76ec0b083 IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller 2016-04-20 09:01:03 +00:00
knakahara
40b1061c07 IFQ_ENQUEUE refactor (2/3) : eliminate pktattr argument from altq implemantation 2016-04-20 08:58:48 +00:00
knakahara
6190bb13a7 IFQ_ENQUEUE refactor (1/3) : add altq_pktattr fields to m_pkthdr
Reviewed by joerg@n.o and tls@n.o, thanks.
2016-04-20 08:56:32 +00:00
roy
465626aae4 Note import of dhcpcd-6.10.3 2016-04-20 08:54:38 +00:00
knakahara
09d9e68fbe Apply mbuf initialize function to stack mbuf used as M_PKTHDR.
It is required to prevent unexpected behavior in future works abount m_pkthdr.
2016-04-20 08:53:11 +00:00
roy
302733a775 Sync 2016-04-20 08:53:01 +00:00
knakahara
10f2dc77bc Add init function for mbuf.
some functions use mbuf as stack variable instead of allocating by m_get().
They should use this function(s) to prevent access to uninitialized fields.

Currently, the mbuf stack allocating functions are the following.
    + sys/dev/ic/bwi.c
      - bwi_rxeof()
      - bwi_encap()
    + sys/dev/ic/dp8390.c
      - dp8390_ipkdb_send()
    + sys/dev/pci/if_txp.c
      - txp_download_fw_section()
    + sys/dev/ppbus/if_plip.c
      - lptap()
    + sys/net/bpf.c
      - _pf_mtap2()
      - _pf_mtap_af()
      - _pf_mtap_sl_out()
    + sys/netisdn/i4b_ipr.c
      - ipr_rx_data_rdy()
      - ipr_tx_queue_empty()

Reviewed by kre@n.o and christos@n.o, thanks.
2016-04-20 08:50:43 +00:00
skrll
a7d674ca52 Re-order includes so that ARM_TARGET2_DWARF_FORMAT takes effect
Fixes PR/51066: C++ text relocations
2016-04-20 06:51:03 +00:00
christos
dc12ea256d The gcc diagnostic formats handle %m 2016-04-19 21:11:44 +00:00
christos
3a8ea6fb2d Enable minimal warnings, disabling the unused and narrowing ones that gcc
authors don't seem to pay attention to.
2016-04-19 21:11:05 +00:00
christos
1364b6032a From Ingo Schwarze:
- Put the data type el_rfunc_t into the public header <histedit.h>.
 - Make el_read in struct editline an opaque pointer rather
   than an embedded struct.
 - Do not include "read.h" everywhere, but only in the two files
   needing access to el_read, read.c and el.c.
 - To functions that don't need more, pass the struct el_read_t *
   rather than the full EditLine *.
 - Of course, that means that read_init() can now fail from
   memory exhaustion, but it's easy to clean up after that.
2016-04-19 19:50:53 +00:00
nonaka
2a9c968127 regen 2016-04-19 15:51:21 +00:00
nonaka
37556f7a2a Added Buffalo WI-U2-300D. 2016-04-19 15:50:24 +00:00
kiyohara
6bacadfe0b OVERO's .ub file includes release 2016-04-19 12:02:55 +00:00
ozaki-r
5fd142cec8 Fix error path 2016-04-19 09:36:35 +00:00
ozaki-r
54748dcad2 Separate MPLS-related routines from ip_hresolv_output
No functional changes.
2016-04-19 09:29:54 +00:00
ozaki-r
cc3dd2e07b Apply psref(9) to bridge(4)
Note that there is an issue that ioctls for an interface and a destruction
of the interface can run in parallel and it causes race conditions on
bridge as well (it rarely happens). The issue will be addressed in the
interface common code (if.c).
2016-04-19 07:10:22 +00:00
ozaki-r
d81e97fa58 Remove BRIDGE_MPSAFE switch and enable MP-safe code by default
We need to enable it by default because bridge_input now runs
in softint, but bridge_input w/o BRIDGE_MPSAFE was designed as
it runs in hardware interrupt.

Note that there remains a racy code in bridge_output; it will be
solved in the upcoming change (applying psref(9)).
2016-04-19 07:03:12 +00:00
mrg
9cd640c618 revert rev 1.6. we don't have access to those files as normal files
and possible will get them directly elsewhere soon.

(if i hack my nouveau to ignore fireware failure, it end up having
a vaguely working console and slowly working X, which is better than
the current situation.)
2016-04-19 06:57:37 +00:00
ozaki-r
220ff4e7a0 Prevent LWP migrations between CPUs during upper layer processing
This is a contract of psref(9) that is used by upper layer componenets,
e.g., bridge(4).
2016-04-19 05:48:10 +00:00
ozaki-r
07d863c903 Constify rtentry of arpresolve
We don't need to (rather shouldn't) modify rtentry in there.
2016-04-19 04:13:56 +00:00
riastradh
cd8d344cdd Make sure rbtrees are empty on desctruction.
If related to PR kern/51076, might help catch the bug a bit earlier.
2016-04-19 02:52:29 +00:00
christos
c28087f0a3 be more specific about what needs to be cleaned for libedit. 2016-04-18 19:37:41 +00:00
christos
6bc428858e mention libedit 2016-04-18 18:58:04 +00:00
christos
4fc1f47d56 From Ingo Schwarze:
* Replace fcns.c by a shorter and simpler func.h
   and include it only in the one file needing it, map.c.
 * Combine help.h and help.c into a simplified help.h
   and include it only in the one file needing it, map.c.
 * Check the very simple, static files editline.c, historyn.c, and
   tokenizern.c into CVS rather than needlessly generating them.
 * So we no longer autogenerate any C files.  :-)
 * Shorten and simplify makelist by deleting the options -n, -e, -bc,
   and -m; the latter was unused and useless in the first place.
 * Move the declaration of el_func_t from fcns.h to the header
   actually needing it, map.h.  Since that header is already
   included by el.h for unrelated reasons, that makes el_func_t
   just as globally available as before.
 * No longer include the simplified fcns.h into el.h,
   include it directly into the *.c files needing it.
2016-04-18 17:01:19 +00:00
ozaki-r
095fdb0468 Add a test case for static ARP
It tests receiving an ARP request that has a spa (i.e., IP address) whose
ARP entry already exists in the table as a static ARP entry.
2016-04-18 02:27:34 +00:00
ozaki-r
805fe96546 Fix panic on receiving an ARP request
The panic happened if an ARP request has a spa (i.e., IP address) whose
ARP entry already exists in the table as a static ARP entry.
2016-04-18 02:24:42 +00:00
ozaki-r
4ace575dc7 Get rid of meaningless RTF_UP check from ip_hresolv_output
The check is meaningless because
- An obtained rtentry is ensured that it's always RTF_UP by rtcache,
  rtalloc1 and rtlookup. If the rtentry isn't changed (i.e., RTF_UP gets
  dropped) during processing, the check should be unnecessary
- Even if not, i.e., an obtained rtentry can be changed during processing,
  checking only at the point doesn't help; the rtentry can be changed after
  the check

Instead we have to ensure that RTF_UP isn't dropped if someone is using it
somehow. Note that we already ensure that a rtentry being used isn't freed
by rt_refcnt.

Proposed on tech-kern and tech-net.
2016-04-18 01:28:06 +00:00
palle
5254ca51fa Update sparc64 TODO file: note issue with interrupt handling + issue when booting from iso image 2016-04-17 19:54:32 +00:00
christos
a2eaeedb12 Remove empty callbacks (Ingo Schwartze) 2016-04-17 18:39:14 +00:00
martin
c0a2d7e484 Move the SMP-disabled hack for SUN4V a bit earlier 2016-04-17 14:32:03 +00:00
nakayama
d3ef62dc17 Fix NetBSD RCS keyword. 2016-04-17 02:16:26 +00:00
nakayama
161d0b9e5f Use xorg-pkg-ver.mk to retrieve PACKAGE_STRING. 2016-04-16 20:52:07 +00:00
dholland
b48722eeda Note that deleting objdirs (not just cleandir) may be necessary for the
gcc update.
2016-04-16 19:47:45 +00:00
riastradh
761e23db0b Add a note about PIE for amd64 requiring clean objdir. 2016-04-16 18:28:22 +00:00