[dahdi-commits] tzafrir: linux/trunk r5051 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Oct 3 15:32:30 CDT 2008
Author: tzafrir
Date: Fri Oct 3 15:32:29 2008
New Revision: 5051
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5051
Log:
Fix building with CONFIG_DAHDI_NET in kernel 2.6.22
The leftovers of issues #13542 (which was mostly resolved in previous
committ. This closes it.
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=5051&r1=5050&r2=5051
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Fri Oct 3 15:32:29 2008
@@ -7065,7 +7065,7 @@
if (skb && (ms->flags & DAHDI_FLAG_NETDEV))
#ifdef NEW_HDLC_INTERFACE
{
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,22)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
skb->mac.raw = skb->data;
#else
skb_reset_mac_header(skb);
More information about the dahdi-commits
mailing list