1. 18 7月, 2011 1 次提交
  2. 02 7月, 2011 1 次提交
  3. 11 5月, 2011 1 次提交
    • S
      xfrm: Assign the inner mode output function to the dst entry · 43a4dea4
      Steffen Klassert 提交于
      As it is, we assign the outer modes output function to the dst entry
      when we create the xfrm bundle. This leads to two problems on interfamily
      scenarios. We might insert ipv4 packets into ip6_fragment when called
      from xfrm6_output. The system crashes if we try to fragment an ipv4
      packet with ip6_fragment. This issue was introduced with git commit
      ad0081e4 (ipv6: Fragment locally generated tunnel-mode IPSec6 packets
      as needed). The second issue is, that we might insert ipv4 packets in
      netfilter6 and vice versa on interfamily scenarios.
      
      With this patch we assign the inner mode output function to the dst entry
      when we create the xfrm bundle. So xfrm4_output/xfrm6_output from the inner
      mode is used and the right fragmentation and netfilter functions are called.
      We switch then to outer mode with the output_finish functions.
      Signed-off-by: NSteffen Klassert <steffen.klassert@secunet.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      43a4dea4
  4. 29 4月, 2011 2 次提交
  5. 17 3月, 2011 1 次提交
  6. 16 3月, 2011 1 次提交
  7. 13 3月, 2011 5 次提交
  8. 03 3月, 2011 1 次提交
  9. 02 3月, 2011 2 次提交
  10. 24 2月, 2011 12 次提交
  11. 23 2月, 2011 12 次提交
  12. 18 2月, 2011 1 次提交