[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CACPU8qKHq8CLqprMtT=3t7H-xCyY+gw0JBxFtt4mJVKF+FESBw@mail.gmail.com>
Date: Wed, 24 Aug 2011 19:43:53 +0800
From: gengjia ding <gengjia.ding@...il.com>
To: linux-kernel@...r.kernel.org
Subject:
Hi,
trying to modify source file net/sched/sch_generic.c in Linux Kernel
2.6.37.6, add code(+):
+ #include <linux/tcp.h>
+ #include <net/tcp.h>
static int pfifo_fast_enqueue(struct sk_buff *skb, struct Qdisc* qdisc){
+ struct tcphdr *th = tcp_hdr(skb);
}
I just want to get the transport header of the socket buffer.
After recompile the kernel and reboot, the network is unable to startup.
But when i
Where did it make the mistake?
Thanks,
Gavin Ding
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists