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)
commit9c28286b1b4b9bce6e35dd4c8a1265f03802a89a
tree643aec55092216c16398de304c1c20f4d782bf86
parent57dacfedf856c475a10890c1f8ebcc1c63473cd1
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