lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 13 Oct 2007 12:33:32 +0200 From: Brice Goglin <brice@...i.com> To: Jeff Garzik <jeff@...zik.org> CC: netdev@...r.kernel.org, David Miller <davem@...emloft.net>, Herbert Xu <herbert@...dor.apana.org.au> Subject: [PATCH 3/5] [IPV6]: Add skb_is_gso_v6 Add skb_is_gso_v6(). Signed-off-by: Brice Goglin <brice@...i.com> --- include/linux/skbuff.h | 5 +++++ 1 file changed, 5 insertions(+) Index: linux-git/include/linux/skbuff.h =================================================================== --- linux-git.orig/include/linux/skbuff.h 2007-10-13 12:24:37.000000000 +0200 +++ linux-git/include/linux/skbuff.h 2007-10-13 12:25:04.000000000 +0200 @@ -1781,6 +1781,11 @@ return skb_shinfo(skb)->gso_size; } +static inline int skb_is_gso_v6(const struct sk_buff *skb) +{ + return skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6; +} + static inline void skb_forward_csum(struct sk_buff *skb) { /* Unfortunately we don't support this one. Any brave souls? */ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists