]> git.baikalelectronics.ru Git - kernel.git/commit
decnet: Use TCP nagle macro instead of literal number in decnet
authorGao Feng <fgao@ikuai8.com>
Sat, 4 Mar 2017 14:10:28 +0000 (22:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 22:07:55 +0000 (14:07 -0800)
commit36c22d6b5b2605821e42a3951dd897e0b8892307
tree643aec55092216c16398de304c1c20f4d782bf86
parentdc36c7319b80d14aba3063e19eeba40eace5a3c8
decnet: Use TCP nagle macro instead of literal number in decnet

Use existing TCP nagle macro TCP_NAGLE_OFF and TCP_NAGLE_CORK instead
of the literal number 1 and 2 in the current decnet codes.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/af_decnet.c