]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/skbuff.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux.git] / include / linux / skbuff.h
index 7eb28b72d9ba6fe805f8a2228ded0e777726864b..77c6dc88e95dde78e32dd5e4c9909f2a088b75ed 100644 (file)
@@ -1362,6 +1362,14 @@ static inline void skb_copy_hash(struct sk_buff *to, const struct sk_buff *from)
        to->l4_hash = from->l4_hash;
 };
 
+static inline void skb_copy_decrypted(struct sk_buff *to,
+                                     const struct sk_buff *from)
+{
+#ifdef CONFIG_TLS_DEVICE
+       to->decrypted = from->decrypted;
+#endif
+}
+
 #ifdef NET_SKBUFF_DATA_USES_OFFSET
 static inline unsigned char *skb_end_pointer(const struct sk_buff *skb)
 {