1. 27 11月, 2012 1 次提交
  2. 23 11月, 2012 1 次提交
    • J
      ipv4: do not cache looped multicasts · 63617421
      Julian Anastasov 提交于
      	Starting from 3.6 we cache output routes for
      multicasts only when using route to 224/4. For local receivers
      we can set RTCF_LOCAL flag depending on the membership but
      in such case we use maddr and saddr which are not caching
      keys as before. Additionally, we can not use same place to
      cache routes that differ in RTCF_LOCAL flag value.
      
      	Fix it by caching only RTCF_MULTICAST entries
      without RTCF_LOCAL (send-only, no loopback). As a side effect,
      we avoid unneeded lookup for fnhe when not caching because
      multicasts are not redirected and they do not learn PMTU.
      
      	Thanks to Maxime Bizon for showing the caching
      problems in __mkroute_output for 3.6 kernels: different
      RTCF_LOCAL flag in cache can lead to wrong ip_mc_output or
      ip_output call and the visible problem is that traffic can
      not reach local receivers via loopback.
      Reported-by: NMaxime Bizon <mbizon@freebox.fr>
      Tested-by: NMaxime Bizon <mbizon@freebox.fr>
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      63617421
  3. 22 11月, 2012 2 次提交
  4. 21 11月, 2012 1 次提交
  5. 20 11月, 2012 1 次提交
  6. 17 11月, 2012 3 次提交
  7. 16 11月, 2012 7 次提交
  8. 15 11月, 2012 1 次提交
  9. 14 11月, 2012 3 次提交
  10. 13 11月, 2012 1 次提交
  11. 12 11月, 2012 2 次提交
  12. 11 11月, 2012 1 次提交
  13. 10 11月, 2012 3 次提交
  14. 09 11月, 2012 5 次提交
  15. 08 11月, 2012 2 次提交
  16. 05 11月, 2012 1 次提交
  17. 04 11月, 2012 3 次提交
  18. 03 11月, 2012 2 次提交