diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 08:50:54 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 08:50:54 +0000 |
commit | fbe627b858308ce1b95b16b936254371ada97365 (patch) | |
tree | 3256a3872d6a0e8b010f447b78f52e791c145a17 /package | |
parent | 1f45a7ccf44b24ef2236dd20b6d6c9dd5dd5fc5e (diff) | |
download | buildroot-novena-fbe627b858308ce1b95b16b936254371ada97365.tar.gz buildroot-novena-fbe627b858308ce1b95b16b936254371ada97365.zip |
- fix args for UDP_INC_STATS_BH
Diffstat (limited to 'package')
-rw-r--r-- | package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-natt.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-natt.patch b/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-natt.patch index 7b29e6c1a..412b087d6 100644 --- a/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-natt.patch +++ b/package/openswan/linux-2.6.22.6-openswan-2.4.9.kernel-2.6-natt.patch @@ -109,9 +109,9 @@ diff -rdupN linux-2.6.22.6.oorig/net/ipv4/udp.c linux-2.6.22.6/net/ipv4/udp.c - return -ret; + if(xfrm4_rcv_encap_func != NULL) { + ret = (*xfrm4_rcv_encap_func)(skb, up->encap_type); -+ UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS); ++ UDP_INC_STATS_BH(UDP_MIB_INDATAGRAMS, up->pcflag); + } else { -+ UDP_INC_STATS_BH(UDP_MIB_INERRORS); ++ UDP_INC_STATS_BH(UDP_MIB_INERRORS, up->pcflag); + ret = 1; + } + return ret; |