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)
commit42f67eea3ba36cef2dce2e853de6ddcb2e89eb39
tree384aa7cd5164824de1c9178629fe82f2bd9fe516
parent373544020024668ea552a7699c9c9f100b6bc9d9
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