aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sctp.h')
-rw-r--r--include/linux/sctp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index d76767dfe59e..d70df61a029f 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -68,7 +68,7 @@ typedef struct sctphdr {
68 68
69static inline struct sctphdr *sctp_hdr(const struct sk_buff *skb) 69static inline struct sctphdr *sctp_hdr(const struct sk_buff *skb)
70{ 70{
71 return (struct sctphdr *)skb->h.raw; 71 return (struct sctphdr *)skb_transport_header(skb);
72} 72}
73#endif 73#endif
74 74