Add dst_mtu() for iw_cxgb3
Signed-off-by: Steve Wise <[EMAIL PROTECTED]>
---
.../backport/2.6.5_sles9_sp3/include/net/dst.h | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/kernel_addons/backport/2.6.5_sles9_sp3/include/net/dst.h
b/kernel_addons/backport/2.6.5_sles9_sp3/include/net/dst.h
new file mode 100644
index 0000000..a399110
--- /dev/null
+++ b/kernel_addons/backport/2.6.5_sles9_sp3/include/net/dst.h
@@ -0,0 +1,13 @@
+#ifndef BACKPORT_DST_SLES9SP3
+#define BACKPORT_DST_SLES9SP3
+#include_next <net/dst.h>
+static inline u32 dst_mtu(struct dst_entry *dst)
+{
+ u32 mtu = dst_metric(dst, RTAX_MTU);
+ /*
+ * Alexey put it here, so ask him about it :)
+ */
+ barrier();
+ return mtu;
+}
+#endif
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general