git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e92b3
)
Support UDP packets in VNET+
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 12 Mar 2008 17:57:44 +0000
(17:57 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 12 Mar 2008 17:57:44 +0000
(17:57 +0000)
linux-2.6-520-vnet+.patch
patch
|
blob
|
history
diff --git
a/linux-2.6-520-vnet+.patch
b/linux-2.6-520-vnet+.patch
index
0648b92
..
72cc91c
100644
(file)
--- a/
linux-2.6-520-vnet+.patch
+++ b/
linux-2.6-520-vnet+.patch
@@
-602,14
+602,14
@@
diff -Nurb linux-2.6.22-510/net/netfilter/xt_MARK.c linux-2.6.22-520/net/netfilt
+ ip = ct->tuplehash[dir].tuple.dst.u3.ip;
+ port = get_dst_port(&ct->tuplehash[dir].tuple);
+
-+ if (proto == 1) {
++ if (proto == 1
|| proto == 17
) {
+ if (((*pskb)->mark!=-1) && (*pskb)->mark)
+ ct->xid[0]=(*pskb)->mark;
+ if (ct->xid[0])
+ mark = ct->xid[0];
+
+ }
-+ else if (proto == 6) {
++ else if (proto == 6) {
+ if ((*pskb)->sk)
+ connection_sk = (*pskb)->sk;
+ else {