]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r335837 (by kp): carp: Set DSCP value CS7
authormav <mav@FreeBSD.org>
Fri, 26 Apr 2019 17:01:56 +0000 (17:01 +0000)
committermav <mav@FreeBSD.org>
Fri, 26 Apr 2019 17:01:56 +0000 (17:01 +0000)
commit44e2ec05f56a15fdf8da04127b46c66341c7dbe4
tree6a3189dc797d517c8622248c0286de0edca55f07
parent2ad2ad193c4ea53df75691fdeef4d892dded70ca
MFC r335837 (by kp): carp: Set DSCP value CS7

Update carp to set DSCP value CS7(Network Traffic) in the flowlabel field of
packets by default. Currently carp only sets TOS_LOWDELAY in IPv4 which was
deprecated in 1998. This also implements sysctl that can revert carp back to
it's old behavior if desired.

This will allow implementation of QOS on modern network devices to make sure
carp packets aren't dropped during interface contention.

Submitted by: Nick Wolff <darkfiberiru AT gmail.com>
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D14536
UPDATING
share/man/man4/carp.4
sys/netinet/ip.h
sys/netinet/ip6.h
sys/netinet/ip_carp.c