]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r233554:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Apr 2012 08:51:06 +0000 (08:51 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Apr 2012 08:51:06 +0000 (08:51 +0000)
commit1ea9d1d68c98c98767f12de703d51fdf3cbd6798
tree45c56d7b128c79f28fa62394b55f48182029a804
parentc837e5bd114634ed3990684594e758b113e53336
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/8@234781 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h