Signed-Off-By: Chandra Seetharaman <[EMAIL PROTECTED]>
Signed-Off-By: Gerrit Huizenga <[EMAIL PROTECTED]>

Callbacks are not called from appropriate places in the socketclass
patch. The patch was wrongly present in the listenaq controller.
Moving from listenaq controller to socketclass patch.

 tcp.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6.13-ckrm1/net/ipv4/tcp.c
===================================================================
--- linux-2.6.13-ckrm1.orig/net/ipv4/tcp.c      2005-08-28 16:41:01.000000000 
-0700
+++ linux-2.6.13-ckrm1/net/ipv4/tcp.c   2005-09-09 17:38:23.000000000 -0700
@@ -263,6 +263,7 @@
 #include <net/xfrm.h>
 #include <net/ip.h>
 
+#include <linux/ckrm_events.h>
 
 #include <asm/uaccess.h>
 #include <asm/ioctls.h>
@@ -482,7 +483,7 @@ int tcp_listen_start(struct sock *sk)
 
                sk_dst_reset(sk);
                sk->sk_prot->hash(sk);
-
+               ckrm_cb_listen_start(sk);
                return 0;
        }
 
@@ -510,6 +511,8 @@ static void tcp_listen_stop (struct sock
        lopt = reqsk_queue_yank_listen_sk(&tp->accept_queue);
        acc_req = reqsk_queue_yank_acceptq(&tp->accept_queue);
 
+       ckrm_cb_listen_stop(sk);
+
        if (lopt->qlen) {
                for (i = 0; i < TCP_SYNQ_HSIZE; i++) {
                        while ((req = lopt->syn_table[i]) != NULL) {

--


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to