CVS commit: src/sys/ufs/lfs

2014-05-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat May 17 07:08:35 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_rename.c lfs_vnops.c ulfs_inode.h

Log Message:
Remove the DIROP macros. They are evil, especially the CREATE ones.

This results in some duplicate logic in the creation vnops (symlink,
mknod, create, mkdir) but we will probably be able to factor it out in
a more sensible way later.

Now the creation vnops call getnewvnode explicitly instead of under
multiple layers of obscure gunk. Then we explicitly do lfs_set_dirop,
and afterwards lfs_unset_dirop.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/ufs/lfs/lfs_rename.c
cvs rdiff -u -r1.263 -r1.264 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.11 -r1.12 src/sys/ufs/lfs/ulfs_inode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-05-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat May 17 07:09:59 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c ulfs_extern.h

Log Message:
Merge ulfs_mkdir into lfs_mkdir.


To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.11 -r1.12 src/sys/ufs/lfs/ulfs_extern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-05-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat May 17 07:09:36 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c ulfs_extern.h

Log Message:
Merge ulfs_symlink into lfs_symlink.


To generate a diff of this commit:
cvs rdiff -u -r1.265 -r1.266 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/lfs/ulfs_extern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-05-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat May 17 07:09:09 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c ulfs_vnops.c

Log Message:
Move the ulfs-level (copy of ufs) vnops for symlink, create, and mkdir
into lfs_vnops.c preparatory to folding them into the lfs entry points.

(lfs_vnops.c now has four licenses. sigh.)


To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.265 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.20 -r1.21 src/sys/ufs/lfs/ulfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/lfs

2014-05-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat May 17 07:10:27 UTC 2014

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c

Log Message:
Merge ulfs_create into lfs_create.


To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/sys/ufs/lfs/lfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux

2014-05-17 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat May 17 09:23:51 UTC 2014

Modified Files:
src/sys/compat/linux/arch/alpha: syscalls.master
src/sys/compat/linux/arch/amd64: syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/i386: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master
src/sys/compat/linux/common: linux_fadvise64.c

Log Message:
Fix fadvise64 syscalls to use 64bit offset types.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.48 -r1.49 src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.57 -r1.58 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.114 -r1.115 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/linux/arch/powerpc/syscalls.master
cvs rdiff -u -r1.1 -r1.2 src/sys/compat/linux/common/linux_fadvise64.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux/arch

2014-05-17 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat May 17 09:25:07 UTC 2014

Modified Files:
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
Regen for fadvise64 offset types changes.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.91 -r1.92 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.93 -r1.94 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.60 -r1.61 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.99 -r1.100 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.100 -r1.101 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.90 -r1.91 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.57 -r1.58 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.56 -r1.57 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.67 -r1.68 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.66 -r1.67 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/compat/linux32/common

2014-05-17 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Sat May 17 09:30:07 UTC 2014

Modified Files:
src/sys/compat/linux32/common: linux32_fcntl.c

Log Message:
Fix fadvise64 syscalls. Unlike our, linux fadvise syscall do not
return error code; call do_posix_fadvise().


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/linux32/common/linux32_fcntl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/find

2014-05-17 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sat May 17 11:31:40 UTC 2014

Modified Files:
src/usr.bin/find: find.1

Log Message:
Add an example with find ... -exec sh -c 


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/usr.bin/find/find.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libossaudio

2014-05-17 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Sat May 17 12:38:42 UTC 2014

Modified Files:
src/lib/libossaudio: ossaudio.c soundcard.h

Log Message:
Adds ioctls and defines for OSSv4 compatibility.

The ioctl definitions and accompanying structures were
taken from FreeBSD's soundcard.h, hopefully providing
some binary compatibility.

The ioctls are as follows:
SNDCTL_SYSINFO: Returns a structure containing
details about the audio device.
SNDCTL_ENGINEINFO - SNDCTL_AUDIOINFO: Returns a
structure with playback/recording
characteristics.
SNDCTL_DSP_GETPLAYVOL, SNDCTL_DSP_SETPLAYVOL,
SNDCTL_DSP_GETRECVOL, SNDCTL_DSP_SETRECVOL:
Retrieves/Sets Playback/Recording volume.
SNDCTL_DSP_SKIP - SNDCTL_DSP_SILENCE: These ioctls
were intended to manipulate the underlying
audio buffer skip or insert silence.  These
return EINVAL.

SOUND_VERSION is unchanged, but is definable,  It will be
changed when the mixer OSSv4 ioctls are written.

Addresses PR 46611
This commit was approved by wiz@.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libossaudio/ossaudio.c
cvs rdiff -u -r1.22 -r1.23 src/lib/libossaudio/soundcard.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 14:51:10 UTC 2014

Modified Files:
src/sys/net: if_ppp.c

Log Message:
ppp_inproc: handle non-IP protocols correctly (hi msaitoh); PR/48813.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/net/if_ppp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/ufs/ufs

2014-05-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat May 17 19:11:40 UTC 2014

Modified Files:
src/sys/ufs/ufs: inode.h

Log Message:
Reorder struct ufid members to avoid padding (and save 4 bytes) on some
architectures.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/ufs/ufs/inode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/zoneinfo

2014-05-17 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Sat May 17 19:53:22 UTC 2014

Added Files:
src/share/zoneinfo: tzdata2netbsd

Log Message:
Add tzdata2netbsd, a script to help import new versions of tzdata.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/share/zoneinfo/tzdata2netbsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/sys

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 20:34:49 UTC 2014

Modified Files:
src/sys/sys: queue.h

Log Message:
Add LIST_CONCAT().


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/sys/queue.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sgimips/dev

2014-05-17 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat May 17 20:44:08 UTC 2014

Modified Files:
src/sys/arch/sgimips/dev: crime.c

Log Message:
split crime_bus_reset() into crime_{cpu,mem}_reset() and only reset
the cpu or the memory upon either error, not both.

seems to make my O2 slightly less likely to hang, and matches what
the linux crime driver does.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/sgimips/dev/crime.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 20:44:24 UTC 2014

Modified Files:
src/sys/altq: altq_subr.c
src/sys/arch/x86/x86: vmt.c
src/sys/dist/pf/net: pf_if.c
src/sys/net: if.h
src/sys/netinet: ip_carp.c
src/sys/netinet6: in6.c in6_ifattach.c nd6.c

Log Message:
- Move IFNET_*() macros under #ifdef _KERNEL.
- Replace TAILQ_FOREACH on ifnet with IFNET_FOREACH().


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/altq/altq_subr.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/vmt.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dist/pf/net/pf_if.c
cvs rdiff -u -r1.163 -r1.164 src/sys/net/if.h
cvs rdiff -u -r1.54 -r1.55 src/sys/netinet/ip_carp.c
cvs rdiff -u -r1.169 -r1.170 src/sys/netinet6/in6.c
cvs rdiff -u -r1.89 -r1.90 src/sys/netinet6/in6_ifattach.c
cvs rdiff -u -r1.148 -r1.149 src/sys/netinet6/nd6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dist/pf/net

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 21:00:33 UTC 2014

Modified Files:
src/sys/dist/pf/net: pf_if.c

Log Message:
Fix previous.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dist/pf/net/pf_if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 21:22:56 UTC 2014

Modified Files:
src/share/man/man3: queue.3
src/sys/sys: queue.h

Log Message:
Rename LIST_CONCAT() to LIST_MOVE() as that is what it actually does (and
there is no point to implement LIST_CONCAT() which would iterate).  Update
the queue(3) manpage.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/share/man/man3/queue.3
cvs rdiff -u -r1.66 -r1.67 src/sys/sys/queue.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 21:26:20 UTC 2014

Modified Files:
src/sys/compat/linux/common: linux_socket.c
src/sys/compat/linux32/common: linux32_socket.c
src/sys/netinet: ip_output.c
src/sys/netinet6: in6_src.c ip6_mroute.c ip6_output.c nd6_rtr.c
scope6.c

Log Message:
Replace open-coded access (and boundary checking) of ifindex2ifnet with
if_byindex() function.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.17 -r1.18 src/sys/compat/linux32/common/linux32_socket.c
cvs rdiff -u -r1.224 -r1.225 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.53 -r1.54 src/sys/netinet6/in6_src.c
cvs rdiff -u -r1.106 -r1.107 src/sys/netinet6/ip6_mroute.c
cvs rdiff -u -r1.155 -r1.156 src/sys/netinet6/ip6_output.c
cvs rdiff -u -r1.90 -r1.91 src/sys/netinet6/nd6_rtr.c
cvs rdiff -u -r1.8 -r1.9 src/sys/netinet6/scope6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 21:45:02 UTC 2014

Modified Files:
src/sys/kern: uipc_syscalls.c

Log Message:
Remove trailing whitespaces, wrap long lines, minor KNF; no functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.166 -r1.167 src/sys/kern/uipc_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 21:48:48 UTC 2014

Modified Files:
src/sys/kern: uipc_syscalls.c

Log Message:
makesocket: set SS_NBIO slightly earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 src/sys/kern/uipc_syscalls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 22:52:36 UTC 2014

Modified Files:
src/sys/kern: uipc_socket2.c
src/sys/sys: socketvar.h

Log Message:
- sonewconn: improve the initialisation order and add some asserts.
- Add various comments describing primitive routines operating on sockets,
  clarify connection life-cycle and improve the description of socket queues.
- Sprinkle more asserts.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/kern/uipc_socket2.c
cvs rdiff -u -r1.131 -r1.132 src/sys/sys/socketvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 23:27:59 UTC 2014

Modified Files:
src/sys/kern: uipc_socket.c uipc_syscalls.c
src/sys/net: if_gre.c
src/sys/sys: mbuf.h socketvar.h

Log Message:
- fsocreate: set SS_NBIO before the file descriptor is affixed as there is
  a theoretical race condition (hard to trigger, though); remove the LWP
  parameter and clean up the code a little.
- Sprinkle few comments.
- Remove M_SOOPTS while here.


To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 src/sys/kern/uipc_socket.c
cvs rdiff -u -r1.168 -r1.169 src/sys/kern/uipc_syscalls.c
cvs rdiff -u -r1.153 -r1.154 src/sys/net/if_gre.c
cvs rdiff -u -r1.154 -r1.155 src/sys/sys/mbuf.h
cvs rdiff -u -r1.132 -r1.133 src/sys/sys/socketvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/miscfs/fifofs

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 23:30:25 UTC 2014

Modified Files:
src/sys/miscfs/fifofs: fifo_vnops.c

Log Message:
fifo_open: assign v_fifoinfo once initialised; add an assert while here.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/miscfs/fifofs/fifo_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/mk

2014-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat May 17 23:31:57 UTC 2014

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Structure HAVE_LIBGCC condition similar to HAVE_LIBGCC_EH.


To generate a diff of this commit:
cvs rdiff -u -r1.804 -r1.805 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/mk

2014-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat May 17 23:32:32 UTC 2014

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Use compiler-rt in libc for Clang on NetBSD/ARM as well.


To generate a diff of this commit:
cvs rdiff -u -r1.805 -r1.806 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 17 23:55:24 UTC 2014

Modified Files:
src/sys/kern: uipc_socket2.c

Log Message:
sonewconn: insert the socket into the queue *after* the protocol attach.
This potentially avoids unnecessary race conditions when handling partial
connections.


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/sys/kern/uipc_socket2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun May 18 00:10:11 UTC 2014

Modified Files:
src/sys/netinet: raw_ip.c
src/sys/netinet6: icmp6.c raw_ip6.c

Log Message:
Use IFNET_FIRST() rather than open coding ifnet access.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sys/netinet/raw_ip.c
cvs rdiff -u -r1.165 -r1.166 src/sys/netinet6/icmp6.c
cvs rdiff -u -r1.113 -r1.114 src/sys/netinet6/raw_ip6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2014-05-17 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sun May 18 00:33:20 UTC 2014

Modified Files:
src/sys/net: if.c if.h

Log Message:
- Move ifnet_list (and lo0ifp while here) under #ifdef _KERNEL.
- Make ifindex2ifnet, if_indexlim and some other variables static.
- Move if_index generation into its own function.
- if_alloc/if_free: replace malloc with kmem.


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/sys/net/if.c
cvs rdiff -u -r1.164 -r1.165 src/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.