CVS commit: src/share/man/man4/man4.x86

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 08:41:17 UTC 2018

Modified Files:
src/share/man/man4/man4.x86: amdzentemp.4

Log Message:
Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS
section to document the fact that we don't yet handle the required temp
offset, nor do we expose the available thermal-trip value.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/man4.x86/amdzentemp.4

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



CVS commit: src/distrib/sets/lists/debug

2018-01-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jan 25 08:57:59 UTC 2018

Modified Files:
src/distrib/sets/lists/debug: mi

Log Message:
Revert previous.

obsolete + other tags is not easy to clean up.


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 src/distrib/sets/lists/debug/mi

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



CVS commit: src/share/man/man4

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 09:29:18 UTC 2018

Modified Files:
src/share/man/man4: ipsecif.4

Log Message:
Improve wording, and put a new drawing, from me and Kengo Nakahara.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/ipsecif.4

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



CVS commit: src/share/man/man9

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 09:33:21 UTC 2018

Modified Files:
src/share/man/man9: mbuf.9

Log Message:
Improve wording.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/share/man/man9/mbuf.9

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



CVS commit: src/share/man/man4/man4.x86

2018-01-25 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 25 10:15:24 UTC 2018

Modified Files:
src/share/man/man4/man4.x86: amdzentemp.4

Log Message:
Fix .Dt name.  Formatting fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/man4.x86/amdzentemp.4

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



CVS commit: src/share/man/man4/man4.x86

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 10:28:57 UTC 2018

Modified Files:
src/share/man/man4/man4.x86: amdzentemp.4

Log Message:
Add missing article 'a'


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/man4.x86/amdzentemp.4

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



CVS commit: src/sys/net

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 10:33:37 UTC 2018

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

Log Message:
style


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/net/if_l2tp.c

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



CVS commit: src/sys

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 10:45:58 UTC 2018

Modified Files:
src/sys/netinet: in_l2tp.c
src/sys/netinet6: in6_l2tp.c

Log Message:
Style, reduce the indentation level when possible, and add a missing NULL
check after M_PREPEND.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.12 -r1.13 src/sys/netinet6/in6_l2tp.c

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



CVS commit: src/share/man/man4/man4.x86

2018-01-25 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 25 10:48:28 UTC 2018

Modified Files:
src/share/man/man4/man4.x86: amdzentemp.4

Log Message:
New sentence - new line.  Sort sections.  Use .Xr to refer to amdtemp(4).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.x86/amdzentemp.4

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



CVS commit: src/share/man/man4/man4.x86

2018-01-25 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 25 10:52:49 UTC 2018

Modified Files:
src/share/man/man4/man4.x86: amdsmn.4

Log Message:
Xref the right driver.  .An -nosplit  Delint.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/man4.x86/amdsmn.4

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



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

2018-01-25 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Jan 25 14:45:58 UTC 2018

Modified Files:
src/sys/arch/sparc/dev: cgfourteen.c

Log Message:
do boundary checks when writing cursor sprite colour registers


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/sparc/dev/cgfourteen.c

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



CVS commit: src/sys/arch/x86/pci

2018-01-25 Thread Patrick Welche
Module Name:src
Committed By:   prlw1
Date:   Thu Jan 25 15:01:05 UTC 2018

Modified Files:
src/sys/arch/x86/pci: amdzentemp.c

Log Message:
Unused variable build fix. (now void *aux is unused)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/pci/amdzentemp.c

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



CVS commit: src/sys/netinet6

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 15:33:06 UTC 2018

Modified Files:
src/sys/netinet6: frag6.c ip6_var.h

Log Message:
Several changes:

 * Move the structure definitions into frag6.c, they should not be used
   elsewhere.

 * Rename ip6af_mff -> ip6af_more, and switch it to bool, easier to
   understand.

 * Remove IP6_REASS_MBUF, no point in keeping this.

 * Remove ip6q_arrive and ip6q_nxtp, unused.

 * Style.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/netinet6/frag6.c
cvs rdiff -u -r1.75 -r1.76 src/sys/netinet6/ip6_var.h

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



CVS commit: src/sys/netinet6

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 15:55:57 UTC 2018

Modified Files:
src/sys/netinet6: frag6.c

Log Message:
Remove outdated comment and fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/netinet6/frag6.c

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



CVS commit: src/sys/dev/pci

2018-01-25 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Thu Jan 25 16:02:12 UTC 2018

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add Marvell Yukon 88E8040T


To generate a diff of this commit:
cvs rdiff -u -r1.1306 -r1.1307 src/sys/dev/pci/pcidevs

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



CVS commit: src/sys/dev/pci

2018-01-25 Thread Stephen Borrill
Module Name:src
Committed By:   sborrill
Date:   Thu Jan 25 16:05:12 UTC 2018

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1299 -r1.1300 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1298 -r1.1299 src/sys/dev/pci/pcidevs_data.h

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



CVS commit: src/sys/nfs

2018-01-25 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan 25 17:14:36 UTC 2018

Modified Files:
src/sys/nfs: nfs.h nfs_syscalls.c

Log Message:
Use a random opaque cookie, not kva pointer, for nfssvc(2).

(What were they smoking?!)

I suspect most of this is actually dead code that wasn't properly
amputated along with the rest of the gangrene of NFSKERB a decade
ago, but I'm out of time to investigate further.  If someone else
wants to kill NFSSVC_AUTHIN/NFSSVC_AUTHINFAIL and the rest of the
tentacular kerberosity, be my guest.

Noted by Silvio Cesare of InfoSect.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/nfs/nfs.h
cvs rdiff -u -r1.158 -r1.159 src/sys/nfs/nfs_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/arch/xen/xen

2018-01-25 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Jan 25 17:41:49 UTC 2018

Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c

Log Message:
Don't call xennet_softstart from hard interrupt; schedule softint.

Fixes panic in bpf_mtap which expects to be called only in softint.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/xen/xen/if_xennet_xenbus.c

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



CVS commit: src/bin/date

2018-01-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 25 18:07:17 UTC 2018

Modified Files:
src/bin/date: date.1

Log Message:
sync with tzcode-2018c


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/bin/date/date.1

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



CVS commit: src/share/man/man4

2018-01-25 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 25 18:56:18 UTC 2018

Modified Files:
src/share/man/man4: amdtemp.4

Log Message:
Formatting fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/amdtemp.4

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



CVS commit: src/usr.sbin/autofs

2018-01-25 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 25 19:15:10 UTC 2018

Modified Files:
src/usr.sbin/autofs: auto_master.5

Log Message:
.Li is superfluous inside .Bd -literal


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/autofs/auto_master.5

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



CVS commit: src/sys/netinet6

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Jan 25 20:55:15 UTC 2018

Modified Files:
src/sys/netinet6: frag6.c

Log Message:
Kick zero-sized fragments. We can't allow them to enter; two fragments
could be put at the same offset.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/netinet6/frag6.c

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



CVS commit: src/sys/arch/x86/pci

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 21:23:36 UTC 2018

Modified Files:
src/sys/arch/x86/pci: amdzentemp.c

Log Message:
KNF: Put back the blank line following the empty variable declarations


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/pci/amdzentemp.c

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



CVS commit: src/distrib/sets/lists/man

2018-01-25 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu Jan 25 22:09:56 UTC 2018

Modified Files:
src/distrib/sets/lists/man: mi

Log Message:
Correct the plist entry for ./usr/share/man/cat8/acorn32/MAKEDEV.0

This file is obsolete, replace '.cat' with 'obsolete'.


To generate a diff of this commit:
cvs rdiff -u -r1.1574 -r1.1575 src/distrib/sets/lists/man/mi

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



CVS commit: src/sys/arch/x86/pci

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 22:14:01 UTC 2018

Modified Files:
src/sys/arch/x86/pci: amdzentemp.c

Log Message:
Put back the variable declaration, too, and mark it __diagused

Otherwise a DIAGNOSTIC kernel will complain about the variable being
undeclared.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/pci/amdzentemp.c

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



CVS commit: src/sys/arch/x86/pci

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 22:37:42 UTC 2018

Modified Files:
src/sys/arch/x86/pci: amdzentemp.c

Log Message:
Correct placement of __diagused attribute


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/pci/amdzentemp.c

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



CVS commit: src/lib/libc/time

2018-01-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 25 22:48:42 UTC 2018

Modified Files:
src/lib/libc/time: Makefile NEWS README ctime.3 localtime.c theory.html
tz-how-to.html tzselect.8 tzselect.ksh tzset.3 version zdump.c
zic.8 zic.c

Log Message:
Merge tzcode2018c [ changelog with changes to tzdata sections removed ]

Release 2018c - 2018-01-22 23:00:44 -0800

  Changes to build procedure

The build procedure now works around mawk 1.3.3's lack of support
for character class expressions.  (Problem reported by Ohyama.)

Release 2018b - 2018-01-17 23:24:48 -0800

  Changes to build procedure

The distribution now contains the file 'pacificnew' again.
This file was inadvertantly omitted in the 2018a distribution.
(Problem reported by Matias Fonzo.)

Release 2018a - 2018-01-12 22:29:21 -0800

  Changes to build procedure

The default installation locations have been changed to mostly
match Debian circa 2017, instead of being designed as an add-on to
4.3BSD circa 1986.  This affects the Makefile macros TOPDIR,
TZDIR, MANDIR, and LIBDIR.  New Makefile macros TZDEFAULT, USRDIR,
USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
locations more precisely.  (This responds to suggestions from
Brian Inglis and from Steve Summit.)

The default installation procedure no longer creates the
backward-compatibility link US/Pacific-New, which causes
confusion during user setup (e.g., see Debian bug 815200).
Use 'make BACKWARD="backward pacificnew"' to create the link
anyway, for now.  Eventually we plan to remove the link entirely.

tzdata.zi now contains a version-number comment.
(Suggested by Tom Lane.)

The Makefile now quotes values like BACKWARD more carefully when
passing them to the shell.  (Problem reported by Zefram.)

Builders no longer need to specify -DHAVE_SNPRINTF on platforms
that have snprintf and use pre-C99 compilers.  (Problem reported
by Jon Skeet.)

  Changes to code

zic has a new option -t FILE that specifies the location of the
file that determines local time when TZ is unset.  The default for
this location can be configured via the new TZDEFAULT makefile
macro, which defaults to /etc/localtime.

Diagnostics and commentary now distinguish UT from UTC more
carefully; see theory.html for more information about UT vs UTC.

zic has been ported to GCC 8's -Wstringop-truncation option.
(Problem reported by Martin Sebor.)

  Changes to documentation and commentary

The zic man page now documents the longstanding behavior that
times and years can be out of the usual range, with negative times
counting backwards from midnight and with year 0 preceding year 1.
(Problem reported by Michael Deckers.)

The theory.html file now mentions the POSIX limit of six chars
per abbreviation, and lists alphabetic abbreviations used.

The files tz-art.htm and tz-link.htm have been renamed to
tz-art.html and tz-link.html, respectively, for consistency with
other file names and to simplify web server configuration.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/lib/libc/time/Makefile
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/time/NEWS
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/time/README
cvs rdiff -u -r1.55 -r1.56 src/lib/libc/time/ctime.3
cvs rdiff -u -r1.110 -r1.111 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/time/theory.html
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/time/tz-how-to.html
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/time/tzselect.8
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/time/tzselect.ksh
cvs rdiff -u -r1.36 -r1.37 src/lib/libc/time/tzset.3
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/time/version
cvs rdiff -u -r1.47 -r1.48 src/lib/libc/time/zdump.c
cvs rdiff -u -r1.27 -r1.28 src/lib/libc/time/zic.8
cvs rdiff -u -r1.69 -r1.70 src/lib/libc/time/zic.c

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



CVS commit: src/doc

2018-01-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Jan 25 22:49:32 UTC 2018

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
mention tzcode2018c


To generate a diff of this commit:
cvs rdiff -u -r1.1496 -r1.1497 src/doc/3RDPARTY
cvs rdiff -u -r1.2350 -r1.2351 src/doc/CHANGES

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



CVS commit: src/sys/arch/x86/pci

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 23:37:34 UTC 2018

Modified Files:
src/sys/arch/x86/pci: amdsmn.c amdzentemp.c

Log Message:
Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/pci/amdsmn.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/pci/amdzentemp.c

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



CVS commit: src/sys/modules

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 23:40:06 UTC 2018

Modified Files:
src/sys/modules: Makefile
Added Files:
src/sys/modules/amdsmn: Makefile amdsmn.ioconf
src/sys/modules/amdzentemp: Makefile amdzentemp.ioconf

Log Message:
Create amdsmn(4) amd amdzentemp(4) modules for X86


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/amdsmn/Makefile \
src/sys/modules/amdsmn/amdsmn.ioconf
cvs rdiff -u -r0 -r1.1 src/sys/modules/amdzentemp/Makefile \
src/sys/modules/amdzentemp/amdzentemp.ioconf

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



CVS commit: src/distrib/sets/lists/modules

2018-01-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jan 25 23:42:06 UTC 2018

Modified Files:
src/distrib/sets/lists/modules: md.amd64 md.i386

Log Message:
Update sets lists for new amdsmn(4) and amdzentemp(4) modules


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.75 -r1.76 src/distrib/sets/lists/modules/md.i386

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



CVS commit: src/sys/arch/mips/mips

2018-01-25 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Jan 26 05:29:43 UTC 2018

Modified Files:
src/sys/arch/mips/mips: locore_mips3.S

Log Message:
Don't warn about MIPS1 MULTIPROCESSOR in a mips3 file.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/mips/mips/locore_mips3.S

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



CVS commit: src/sys/netinet6

2018-01-25 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Jan 26 06:37:21 UTC 2018

Modified Files:
src/sys/netinet6: nd6_rtr.c

Log Message:
Revert "Get rid of unnecessary splsoftnet" (v1.133)

It's not always true that softnet_lock is held these places.
See PR kern/52947.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/netinet6/nd6_rtr.c

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



CVS commit: src/sys/netinet6

2018-01-25 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Jan 26 06:49:02 UTC 2018

Modified Files:
src/sys/netinet6: nd6_rtr.c

Log Message:
Get rid of unnecessary splsoftnet (redo)

Unless NET_MPSAFE, splsoftnet is still needed for rt_* functions.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/netinet6/nd6_rtr.c

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



CVS commit: src/sys

2018-01-25 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Jan 26 07:49:15 UTC 2018

Modified Files:
src/sys/net: if_l2tp.c
src/sys/netinet: in_l2tp.c
src/sys/netinet6: in6_l2tp.c

Log Message:
Several fixes in L2TP:

 * l2tp_input(): use m_copydata, and ensure there is enough space in the
   chain. Otherwise overflow.

 * l2tp_tcpmss_clamp(): ensure there is enough space in the chain.

 * in_l2tp_output(): don't check 'sc' against NULL, it can't be NULL.

 * in_l2tp_input(): no need to call m_pullup since we use m_copydata.
   Just check the space in the chain.

 * in_l2tp_input(): if there is a cookie, make sure the chain has enough
   space.

 * in6_l2tp_input(): same changes as in_l2tp_input().

Ok knakahara@


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/net/if_l2tp.c
cvs rdiff -u -r1.11 -r1.12 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.13 -r1.14 src/sys/netinet6/in6_l2tp.c

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