OSDN Git Service

sctp: add skb_sdif in struct sctp_af
authorXin Long <lucien.xin@gmail.com>
Wed, 16 Nov 2022 20:01:19 +0000 (15:01 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2022 11:42:54 +0000 (11:42 +0000)
commit33e93ed2209d5971043bed41dd194bc583b57ef3
treebb7b342faa29a94845cb6e3c6dc5d3398175e66e
parentf87b1ac06c887210782eab9f105ffd9045be74cc
sctp: add skb_sdif in struct sctp_af

Add skb_sdif function in struct sctp_af to get the enslaved device
for both ipv4 and ipv6 when adding SCTP VRF support in sctp_rcv in
the next patch.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/ipv6.c
net/sctp/protocol.c