Re: patch for 2.1.88 skb leaks

David S. Miller (davem@dm.cobaltmicro.com)
Fri, 6 Mar 1998 19:37:29 -0800


Date: Fri, 06 Mar 1998 22:33:14 -0500
From: Bill Hawes <whawes@star.net>

Also included is a change for ipv6 multicasting, where a cloned skb
was being queued on the wrong sk (and the allocation wasn't being
checked.) I also added code to lock the hashes following the ipv4
practice.

The SOCKHASH_LOCK() addition is not necessary, in fact the correct
change is to remove them from the ipv4 UDP version. Just like in
udp_v4_lookup/udp_v6_lookup we know that the code is always called
from within a BH handler, so the bh atomicity would be spurious.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu