[openib-general] RE: SDP fails to compile on SVN6829

Bob Woodruff robert.j.woodruff at intel.com
Mon May 1 11:07:03 PDT 2006


Michael wrote, 
> do I need an additional patch or is the backport patch broken ? 

Personally, I don't think we should be moving code into the trunk
until it is ready, and obviously this new SDP is not ready.

Anyone else have an opinion on how/when things get moved to the trunk ?
Shouldn't it be kept on a branch till it is ready ?


>I think you need these:

>   A /gen2/branches/backport/2.6.9/linux_skbuff_6754_to_2_6_11.patch (from
>/gen2/branches/backport/2.6.11/linux_skbuff_6754_to_2_6_11.patch:6765)

For example, this patch adds a function 
static inline void skb_header_release(struct sk_buff *skb)
that does not do anything yet. 

Maybe I better wait till you have this new
SDP completed before moving to it, until then I will use the older
SDP. 

woody

===================================================================
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
+++ last_stable/include/linux/skbuff.h  2006-04-30 09:16:05.000000000 +0300
@@ -0,0 +1,19 @@
+#ifndef LINUX_SKBUFF_H_BACKPORT
+#define LINUX_SKBUFF_H_BACKPORT
+
+#include_next <linux/skbuff.h>
+
+/**
+ *      skb_header_release - release reference to header
+ *      @skb: buffer to operate on
+ *
+ *      Drop a reference to the header part of the buffer.  This is done
+ *      by acquiring a payload reference.  You must not read from the
header
+ *      part of skb->data after this.
+ */
+static inline void skb_header_release(struct sk_buff *skb)
+{
+}
+
+
+#endif

MST



More information about the general mailing list