SVNews r327844

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-11 20:26:17 - r327844 by tuexen (Michael Tuexen)

Complete list of files affected by revision r327844:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/kern/sys_socket.c  

Commit message:

Ensure that the vnet is set when calling pru_sockaddr() and
pru_peeraddr().

This is already true when called via kern_getsockname() and
kern_getpeername(). This patch sets it also, when they arecalled
via soo_fill_kinfo(). This is necessary, since the corresponding
functions for SCTP require the vnet to be set. Without this,
if a process having an wildcard bound SCTP socket is
terminated and a core is written, the kernel panics.

Reviewed by: bz
Differential Revision: https://reviews.freebsd.org/D13652

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 9 ms, 1 file printed. Current time is 2018-04-20 14:42:47. All times are in UTC/GMT.