Commit Graph

240499 Commits

Author SHA1 Message Date
ozaki-r
6978981cea Don't call atm_input directly
This should be the last one that was survived ifp->if_input replacements.

No functional change.
2016-01-22 06:34:59 +00:00
riastradh
87bc652e3d Don't abuse struct protosw for ip_encap -- introduce struct encapsw.
Mostly mechanical change to replace it, culling some now-needless
boilerplate around all the users.

This does not substantively change the ip_encap API or eliminate
abuse of sketchy pointer casts -- that will come later, and will be
easier now that it is not tangled up with struct protosw.
2016-01-22 05:15:10 +00:00
ozaki-r
eef1a9e462 Fix build with RUMP_LOCKDEBUG=yes 2016-01-22 04:26:01 +00:00
zafer
b8492eb072 fix typo. 2016-01-22 03:38:57 +00:00
christos
e266d25de2 PR/50686: David Binderman: fix memory leak 2016-01-21 17:17:53 +00:00
christos
e7798716b4 remove malloc casts. 2016-01-21 17:16:48 +00:00
christos
df13a573b0 PR/50685: David Binderman: fix memory leak 2016-01-21 17:14:05 +00:00
christos
a7dbc6bff9 PR/50684: David Binderman: Fix memory leak 2016-01-21 17:00:23 +00:00
christos
8ad8763155 PR/50683: David Binderman: Fix memory leak. 2016-01-21 16:58:36 +00:00
riastradh
7c7b1739c8 Revert previous: ran cvs commit when I meant cvs diff. Sorry!
Hit up-arrow one too few times.
2016-01-21 15:41:29 +00:00
riastradh
b41d562bd0 Give proper prototype to ip_output. 2016-01-21 15:27:48 +00:00
mrg
93abc59558 protect the entire contents of regsub.c with extern "C".
this fixes the tools build, at least.

also, remove the no longer needed cdefs.h from one of these copies.
2016-01-21 04:55:40 +00:00
riastradh
f8b0ac1cb4 Give proper prototype to ip_output. 2016-01-20 22:12:22 +00:00
riastradh
0685935511 Pass the requisite number of arguments to ip_output from ipf.
Fortunately the last argument, struct socket *so, is used only when
flags includes IP_DF (0x4000), which is not the case here -- we pass
IP_FORWARDING (0x0001).
2016-01-20 22:11:23 +00:00
riastradh
6439c4109a Give proper prototype to rip_output. 2016-01-20 22:02:54 +00:00
riastradh
2880d69957 Give proper prototype to udp_output. 2016-01-20 22:01:18 +00:00
riastradh
d33ecd31cb Give proper prototype to ddp_output. 2016-01-20 21:59:19 +00:00
riastradh
65a8f527af Eliminate struct protosw::pr_output.
You can't use this unless you know what it is a priori: the formal
prototype is variadic, and the different instances (e.g., ip_output,
route_output) have different real prototypes.

Convert the only user of it, raw_send in net/raw_cb.c, to take an
explicit callback argument.  Convert the only instances of it,
route_output and key_output, to such explicit callbacks for raw_send.
Use assertions to make sure the conversion to explicit callbacks is
warranted.

Discussed on tech-net with no objections:
https://mail-index.netbsd.org/tech-net/2016/01/16/msg005484.html
2016-01-20 21:43:59 +00:00
christos
e17fe16cac Don't return NULL when we are freeing the root node; return a free'd pointer
instead.
2016-01-20 20:47:41 +00:00
roy
d19d3590dc Note import of dhcpcd-6.10.1 2016-01-20 19:43:23 +00:00
roy
239a09e1aa Sync 2016-01-20 19:42:33 +00:00
christos
73f09d245f Regen with autoconf 2.69. 2016-01-20 19:35:32 +00:00
christos
8b59ebd5ef make regasub a "C" decl. 2016-01-20 17:09:04 +00:00
christos
c424ac81dd make regasub a c decl. 2016-01-20 17:08:27 +00:00
roy
d2b81c07d7 Re-queue kqueue events after forking. 2016-01-20 17:03:35 +00:00
christos
801bf996c3 Add support for Windows I{32,64} formats from Jason Hood via file(1). 2016-01-20 15:43:05 +00:00
christos
2e3cfa464e PR/50681: Markiyan Kushnir: Fix memory leak when we delete the root node.
It is questionable if we should return NULL in that case, but what is the
parent of root? The new adjusted root?
2016-01-20 15:31:55 +00:00
roy
042b6b4776 Sync upstream changes for eloop 2016-01-20 15:26:13 +00:00
christos
168ddffc8a sync with gcc.old (catch up with __RCSID removal and libc sync) 2016-01-20 15:13:33 +00:00
christos
fe4272b7bc remove __RCSID, sync with libc 2016-01-20 15:12:29 +00:00
roy
96193774ca Build with kqueue(2) support 2016-01-20 15:08:44 +00:00
roy
6da92e7fec Add kqueue(2) support. 2016-01-20 15:07:52 +00:00
roy
19aa8ba08a If an interface is removed, zero the remembered ifindex.
Don't try to set properties on the interface when it is removed.
2016-01-20 14:43:40 +00:00
jklos
cd6b0c019b Change base address to account for later Alpha models with later firmware
which require more space for SRM.
2016-01-20 12:49:21 +00:00
knakahara
2692d86ef7 remove unused variable. 2016-01-20 05:58:49 +00:00
christos
741b61a67e bump bind libraries. 2016-01-20 02:20:41 +00:00
christos
bcae4de40b mention new bind. 2016-01-20 02:15:15 +00:00
christos
1f95ef81a2 Merge 9.10.3-P3:
4288.   [bug]           Fixed a regression in resolver.c:possibly_mark()
                        which caused known-bogus servers to be queried
                        anyway. [RT #41321]

4286.   [security]      render_ecs errors were mishandled when printing out
                        a OPT record resulting in a assertion failure.
                        (CVE-2015-8705) [RT #41397]

4285.   [security]      Specific APL data could trigger a INSIST.
                        (CVE-2015-8704) [RT #41396]
2016-01-20 02:14:02 +00:00
christos
3446f5fe8e Import bind 9.10.3-P3 2016-01-20 01:52:08 +00:00
martin
c0c8832090 regen 2016-01-19 19:03:27 +00:00
martin
676c5010f5 Add a NetChip USB-IDE bridge 2016-01-19 19:02:32 +00:00
roy
24a4d098ea wpa_supplicant dropped the -w option a long time ago, lets not pretend
it still works.
2016-01-19 18:09:09 +00:00
roy
e2e73853a3 Downing the interface now disables it instead of removing it. 2016-01-19 17:22:57 +00:00
christos
76a27842d2 More fixes from upstream:
- X connection forwarding fixes
- more explicit_bzero
- more closing file descriptors
XXX: pullup-7
2016-01-19 17:10:55 +00:00
roy
b34fd366ac Use the interface index from the correc structure according to the message
to find the driver instead of assuming that rtm_index is corect.
2016-01-19 16:47:44 +00:00
roy
05166036b2 Syntax (no functional change) 2016-01-19 15:49:07 +00:00
roy
a580913301 Revert an older change as upstream now calculates level from rssi and noise. 2016-01-19 15:45:00 +00:00
roy
540fe73fe8 Remove pointless check 2016-01-19 15:27:57 +00:00
roy
a0af6c43af Remove added debug to sync more with upstream. 2016-01-19 15:18:20 +00:00
roy
11ef54a957 Don't log RTM messages we aren't interested in at all. 2016-01-19 15:08:29 +00:00