[ovs-git] [openvswitch/ovs] 46051c: datapath: Replace __force type cast with rcu_deref...

GitHub noreply at github.com
Fri Oct 24 02:11:45 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 46051cf8ad1437d7c0d4da33ead1e915611dde67
      https://github.com/openvswitch/ovs/commit/46051cf8ad1437d7c0d4da33ead1e915611dde67
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-10-23 (Thu, 23 Oct 2014)

  Changed paths:
    M datapath/datapath.c
    M datapath/flow_table.c
    M datapath/vport.c

  Log Message:
  -----------
  datapath: Replace __force type cast with rcu_dereference_raw().

rcu_dereference_raw() api is cleaner way of accessing RCU pointer
when no locking is required.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


  Commit: af465b67a9b93f7db935924f1b51a90dea81fe12
      https://github.com/openvswitch/ovs/commit/af465b67a9b93f7db935924f1b51a90dea81fe12
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-10-23 (Thu, 23 Oct 2014)

  Changed paths:
    M datapath/actions.c
    M datapath/compat.h
    M datapath/datapath.c
    M datapath/flow.c
    M datapath/flow_netlink.c
    M datapath/flow_table.c
    M datapath/vport-internal_dev.c
    M datapath/vport-netdev.c
    M datapath/vport.c
    M datapath/vport.h

  Log Message:
  -----------
  datapath: Fix comment style.

Use netdev comment style.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


  Commit: 8abaa53cac82dad5e7f8dba9ef30d785b0a46140
      https://github.com/openvswitch/ovs/commit/8abaa53cac82dad5e7f8dba9ef30d785b0a46140
  Author: Pravin B Shelar <pshelar at nicira.com>
  Date:   2014-10-23 (Thu, 23 Oct 2014)

  Changed paths:
    M acinclude.m4
    M datapath/actions.c
    M datapath/linux/compat/exthdrs_core.c
    M datapath/linux/compat/include/net/ipv6.h

  Log Message:
  -----------
  datapath: Use upstream ipv6_find_hdr().

ipv6_find_hdr() already fixed in newer upstram kernel by Ansis, we
can start using this API safely.
This patch also backports fix (ipv6: ipv6_find_hdr restore prev
functionality) to compat ipv6_find_hdr().

CC: Ansis Atteka <aatteka at nicira.com>
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/4efe455d79b0...8abaa53cac82


More information about the git mailing list