1. 27 3月, 2013 2 次提交
    • P
      VXLAN: Fix vxlan stats handling. · e8171045
      Pravin B Shelar 提交于
      Fixes bug in VXLAN code where is iptunnel_xmit() called with NULL
      dev->tstats.
      This bug was introduced in commit 6aed0c8b (tunnel: use
      iptunnel_xmit() again).
      
      Following patch fixes bug by setting dev->tstats. It uses ip_tunnel
      module code to share stats function.
      
      CC: Cong Wang <xiyou.wangcong@gmail.com>
      Signed-off-by: NPravin B Shelar <pshelar@nicira.com>
      Acked-by: NStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e8171045
    • P
      GRE: Refactor GRE tunneling code. · c5441932
      Pravin B Shelar 提交于
      Following patch refactors GRE code into ip tunneling code and GRE
      specific code. Common tunneling code is moved to ip_tunnel module.
      ip_tunnel module is written as generic library which can be used
      by different tunneling implementations.
      
      ip_tunnel module contains following components:
       - packet xmit and rcv generic code. xmit flow looks like
         (gre_xmit/ipip_xmit)->ip_tunnel_xmit->ip_local_out.
       - hash table of all devices.
       - lookup for tunnel devices.
       - control plane operations like device create, destroy, ioctl, netlink
         operations code.
       - registration for tunneling modules, like gre, ipip etc.
       - define single pcpu_tstats dev->tstats.
       - struct tnl_ptk_info added to pass parsed tunnel packet parameters.
      
      ipip.h header is renamed to ip_tunnel.h
      Signed-off-by: NPravin B Shelar <pshelar@nicira.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c5441932
  2. 26 3月, 2013 4 次提交
  3. 25 3月, 2013 2 次提交
  4. 23 3月, 2013 5 次提交
  5. 22 3月, 2013 21 次提交
  6. 21 3月, 2013 6 次提交