summaryrefslogtreecommitdiffstats
path: root/package/ar7-atm/patches/100-compile_fix.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-27 03:07:52 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-27 03:07:52 +0000
commit38d9c42391c335db7e9d6b6f263c75e7ea45ca76 (patch)
treee7a64dae37a9ac6a40ffd95a730acaf30faf2618 /package/ar7-atm/patches/100-compile_fix.patch
parent8bf289d5fd108975bd6e092075e72634d8034ee5 (diff)
update ar7 to 2.6.22.1 (thanks to Matteo Croce for his great help)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8189 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ar7-atm/patches/100-compile_fix.patch')
-rw-r--r--package/ar7-atm/patches/100-compile_fix.patch8
1 files changed, 2 insertions, 6 deletions
diff --git a/package/ar7-atm/patches/100-compile_fix.patch b/package/ar7-atm/patches/100-compile_fix.patch
index bd081c48e..2abd433ae 100644
--- a/package/ar7-atm/patches/100-compile_fix.patch
+++ b/package/ar7-atm/patches/100-compile_fix.patch
@@ -344,17 +344,13 @@ diff -urN sangam_atm-07.01.00.10/tn7atm.c sangam-atm-0.3/tn7atm.c
dgprintf (1, "Leave tn7atm_close\n");
}
-@@ -1518,8 +1467,11 @@
+@@ -1518,8 +1467,7 @@
* firewall is on */
dgprintf (3, "pushing the skb...\n");
-
- skb->stamp = vcc->timestamp = xtime;
-+ {
-+ struct timeval tv;
-+ do_gettimeofday(&tv);
-+ skb_set_timestamp(skb, &tv);
-+ }
++ __net_timestamp(skb);
xdump ((unsigned char *) skb->data, skb->len, 5);