SVNews r330779

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

2018-03-11 19:14:01 - r330779 by ae (Andrey V. Elsukov)

Complete list of files affected by revision r330779:

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

  History   Contents   Diff   MODIFY   /head/sys/netipsec/keysock.c  

Commit message:

Rework key_sendup_mbuf() a bit:

o count in_nomem counter when we have failed to allocate mbuf for
  promisc socket;
o count in_msgtarget counter when we have secussfully sent data to socket;
o Since we are sending messages in a loop, returning error on first fail
  interrupts the loop, and all remaining sockets will not receive this
  message. So, do not return error when we have failed to send data to ALL
  or REGISTERED target. Return error only for KEY_SENDUP_ONE case. Now,
  when some socket has overfilled its receive buffer, this will not break
  other sockets.

MFC after: 2 weeks


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

Page generated in 13 ms, 1 file printed. Current time is 2018-03-18 09:49:47. All times are in UTC/GMT.