We've already dereferenced 'np' a dozen
times at this point, so it's safe to say it's not null.

Signed-off-by: Dave Jones <[EMAIL PROTECTED]>

--- linux-2.6.15.noarch/net/ipv6/ip6_output.c~  2006-03-06 02:22:05.000000000 
-0500
+++ linux-2.6.15.noarch/net/ipv6/ip6_output.c   2006-03-06 02:23:47.000000000 
-0500
@@ -889,7 +889,7 @@ int ip6_append_data(struct sock *sk, int
                np->cork.hop_limit = hlimit;
                np->cork.tclass = tclass;
                mtu = dst_mtu(rt->u.dst.path);
-               if (np && np->frag_size < mtu) {
+               if (np->frag_size < mtu) {
                        if (np->frag_size)
                                mtu = np->frag_size;
                }
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to