summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'openvz-sources/022.078-r2/9003_diff-ve-netfilter-ipt-redir-20060517.patch')
-rw-r--r--openvz-sources/022.078-r2/9003_diff-ve-netfilter-ipt-redir-20060517.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/openvz-sources/022.078-r2/9003_diff-ve-netfilter-ipt-redir-20060517.patch b/openvz-sources/022.078-r2/9003_diff-ve-netfilter-ipt-redir-20060517.patch
deleted file mode 100644
index 3dd62db..0000000
--- a/openvz-sources/022.078-r2/9003_diff-ve-netfilter-ipt-redir-20060517.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- ./net/ipv4/netfilter/ipt_REDIRECT.c.iptredir 2006-03-28 16:14:50.000000000 +0400
-+++ ./net/ipv4/netfilter/ipt_REDIRECT.c 2006-05-17 11:54:55.000000000 +0400
-@@ -89,14 +89,18 @@ redirect_target(struct sk_buff **pskb,
- newdst = htonl(0x7F000001);
- else {
- struct in_device *indev;
-+ struct in_ifaddr *ifa;
-
- /* Device might not have an associated in_device. */
- indev = (struct in_device *)(*pskb)->dev->ip_ptr;
- if (indev == NULL || indev->ifa_list == NULL)
- return NF_DROP;
-
-+ ifa = indev->ifa_list;
-+ if (IN_LOOPBACK(ntohl(ifa->ifa_local)) && ifa->ifa_next)
-+ ifa = ifa->ifa_next;
- /* Grab first address on interface. */
-- newdst = indev->ifa_list->ifa_local;
-+ newdst = ifa->ifa_local;
- }
-
- /* Transfer from original range. */