]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r233554:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Apr 2012 08:50:50 +0000 (08:50 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Apr 2012 08:50:50 +0000 (08:50 +0000)
commitc875ee6c5e34198e6c624c443ec12cf1266b67a6
tree50bc6f337bc1f72ae5b3eb76605e2ad1d89c34a2
parentbec0a9745ad9b7ebcb29e35791ce3c877aac75b6
MFC r233554:

 Export the udp_cksum sysctl for upcoming SCTP work.  Rather than always,
 SCTP will only do IPv4 UDP checksum calculation as defined by the host
 policy.  When tunneling SCTP always calculates the inner checksum already
 so not doing the outer UDP can save cycles.

 While here virtualize the variable.

 Requested by: tuexen

git-svn-id: svn://svn.freebsd.org/base/stable/9@234780 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h