]> git.baikalelectronics.ru Git - kernel.git/commit
net: use sk_is_tcp() in more places
authorEric Dumazet <edumazet@google.com>
Mon, 15 Nov 2021 19:02:33 +0000 (11:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Nov 2021 13:10:34 +0000 (13:10 +0000)
commit377c44423bc2f41dcb894a7a4f7baeaf9719d7bb
tree384aa7cd5164824de1c9178629fe82f2bd9fe516
parent7dd9e78a6f221ce351fd44c87263c7a631802a43
net: use sk_is_tcp() in more places

Move sk_is_tcp() to include/net/sock.h and use it where we can.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skmsg.h
include/net/sock.h
net/core/skbuff.c
net/core/sock.c