From: Peter Kosyh
Date: Fri, 2 Jul 2010 07:47:55 +0000 (+0000)
Subject: xfrm: fix xfrm by MARK logic
X-Git-Tag: v2.6.35-rc5~14^2~7
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b451f1633896de15d2d52e1a2bd462e80b7814;p=pandora-kernel.git
xfrm: fix xfrm by MARK logic
While using xfrm by MARK feature in
2.6.34 - 2.6.35 kernels, the mark
is always cleared in flowi structure via memset in
_decode_session4 (net/ipv4/xfrm4_policy.c), so
the policy lookup fails.
IPv6 code is affected by this bug too.
Signed-off-by: Peter Kosyh
Acked-by: Eric Dumazet
Signed-off-by: David S. Miller
---
Reading git-diff-tree failed