]> git.proxmox.com Git - mirror_frr.git/commit - lib/sockunion.c
lib: Remove sockopt_cork functionality
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 Aug 2017 00:36:33 +0000 (20:36 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 Aug 2017 00:36:33 +0000 (20:36 -0400)
commitc62232b4b1ddf79ce0694c19503e05b21fd61858
treeadc53d48b26be77c3dbc815b2ffe7fd6162a3d29
parentab665082fe1f59c83332d7602dd923eb5693dfc0
lib: Remove sockopt_cork functionality

Linux -> TCP_CORK is enabled by default
*BSD -> The equivalent is TCP_NOPUSH

As such sockopt_cork is effectively useless
especially since the two places it is used
do it right before TCP writes then disable
it right after the writes are over.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/sockunion.c