Thread (6 messages) 6 messages, 3 authors, 2006-06-29

Re: [NET]: Added GSO header verification

From: "Michael Chan" <mchan@broadcom.com>
Date: 2006-06-27 20:45:38

On Tue, 2006-06-27 at 22:07 +1000, Herbert Xu wrote:
quoted hunk ↗ jump to hunk
[NET]: Added GSO header verification
@@ -2166,10 +2166,14 @@ struct sk_buff *tcp_tso_segment(struct s
        if (!pskb_may_pull(skb, thlen))
                goto out;
 
+       segs = NULL;
+       if (skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST))
+               goto out;
+
This logic doesn't look right to me.  Perhaps it's backwards and should
be:

if (!skb_gso_ok(skb, features | NETIF_F_GSO_ROBUST))
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help