lkml.org 
[lkml]   [1998]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: patch for 2.1.88 skb leaks
   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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.046 / U:1.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site