Thread (11 messages) flat view 11 messages, 3 authors, 2012-08-21

Re: IP fragmentation broken in 3.6-rc ?

From: Sylvain Munaut <hidden>
Date: 2012-08-21 17:44:28

Hi,
quoted hunk ↗ jump to hunk
Following patch should help :
diff --git a/include/net/dst.h b/include/net/dst.h
index 621e351..a04aa37 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -435,7 +435,7 @@ static inline void dst_set_expires(struct dst_entry *dst, int timeout)
        if (expires == 0)
                expires = 1;

-       if (dst->expires == 0 || time_before(expires, dst->expires))
+       if (dst->expires == 0 || time_after(expires, dst->expires))
                dst->expires = expires;
 }
Yes, this fixes it for me too . ( 2h without issues on 2 different machines )

But that line has been in the kernel for _years_ ... so I'm not sure
what's going on there ...


Cheers,

    Sylvain
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help