[ovs-git] [openvswitch/ovs] 00d662: datapath: define compat ip_tunnel_get_iflink()
GitHub
noreply at github.com
Fri Dec 11 21:50:04 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 00d662ba54aa18d271bd04f51b85f2ecc03cd90a
https://github.com/openvswitch/ovs/commit/00d662ba54aa18d271bd04f51b85f2ecc03cd90a
Author: Pravin B Shelar <pshelar at nicira.com>
Date: 2015-12-11 (Fri, 11 Dec 2015)
Changed paths:
M datapath/linux/compat/include/net/ip_tunnels.h
M datapath/linux/compat/ip_tunnel.c
Log Message:
-----------
datapath: define compat ip_tunnel_get_iflink()
ip_tunnel_get_iflink() depends on ip_tunnel structure. But OVS
compat layer defines its own ip_tunnel structure which is not
compatible with all upstream kernel versions. Therefore we
can no use such function.
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at kernel.org>
Commit: 034694196899580af53ac622fd7c074730a9a5c7
https://github.com/openvswitch/ovs/commit/034694196899580af53ac622fd7c074730a9a5c7
Author: Pravin B Shelar <pshelar at nicira.com>
Date: 2015-12-11 (Fri, 11 Dec 2015)
Changed paths:
M datapath/linux/compat/include/net/ip_tunnels.h
M datapath/linux/compat/ip_tunnel.c
Log Message:
-----------
datapath: define compat ip_tunnel_get_link_net()
Same as ip_tunnel_get_iflink(), function ip_tunnel_get_link_net()
also depends on ip_tunnel structure. So this patch defines
compat implementation for same.
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at kernel.org>
Commit: 7842e2571fccc2b97b69e02d61516ca5c99b3eb9
https://github.com/openvswitch/ovs/commit/7842e2571fccc2b97b69e02d61516ca5c99b3eb9
Author: Pravin B Shelar <pshelar at nicira.com>
Date: 2015-12-11 (Fri, 11 Dec 2015)
Changed paths:
M datapath/linux/compat/include/net/gre.h
M datapath/linux/compat/include/net/ip_tunnels.h
Log Message:
-----------
datapath: compat: Block upstream ip_tunnels functions.
Since upstream and compat ip_tunnel structures are not same, we can not
use exported upstream functions.
Following patch blocks definitions which used ip_tunnel internal
structure. Function which do not depend on these structures are
allows by explicitly by defining it in the header files. e.g.
iptunnel_handle_offloads(), iptunnel_pull_header(). etc.
Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at kernel.org>
Compare: https://github.com/openvswitch/ovs/compare/3edfaf604aa3...7842e2571fcc
More information about the git
mailing list