OpenCloudOS-Kernel/drivers/net/ethernet/mellanox/mlx5/core
Sabrina Dubroca 6c8991f415 net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
ipv6_stub uses the ip6_dst_lookup function to allow other modules to
perform IPv6 lookups. However, this function skips the XFRM layer
entirely.

All users of ipv6_stub->ip6_dst_lookup use ip_route_output_flow (via the
ip_route_output_key and ip_route_output helpers) for their IPv4 lookups,
which calls xfrm_lookup_route(). This patch fixes this inconsistent
behavior by switching the stub to ip6_dst_lookup_flow, which also calls
xfrm_lookup_route().

This requires some changes in all the callers, as these two functions
take different arguments and have different return types.

Fixes: 5f81bd2e5d ("ipv6: export a stub for IPv6 symbols used by vxlan")
Reported-by: Xiumei Mu <xmu@redhat.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-04 12:27:13 -08:00
..
accel treewide: remove dummy Makefiles for single targets 2019-08-21 21:05:21 +09:00
diag Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
en net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup 2019-12-04 12:27:13 -08:00
en_accel net/mlx5e: kTLS, Enhance TX resync flow 2019-10-18 12:11:54 -07:00
fpga mlx5-updates-2019-11-01 2019-11-03 19:23:49 -08:00
ipoib Kbuild updates for v5.4 2019-09-20 08:36:47 -07:00
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-16 21:51:42 -08:00
steering mlx5-updates-2019-11-22 2019-11-23 16:36:49 -08:00
Kconfig drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
Makefile net/mlx5: DR, Replace CRC32 implementation to use kernel lib 2019-11-01 14:55:14 -07:00
alloc.c net/mlx5: Separate and generalize dma device from pci device 2019-04-29 16:55:05 -07:00
cmd.c net/mlx5: rate limit alloc_ent error messages 2019-11-01 14:55:17 -07:00
cq.c net/mlx5: Report EQE data upon CQ completion 2019-07-03 21:00:20 +03:00
debugfs.c mlx5: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
dev.c net/mlx5: Use reversed order when unregister devices 2019-07-25 13:30:59 -07:00
devlink.c net/mlx5: Add devlink reload 2019-11-13 14:25:04 -08:00
devlink.h net/mlx5: Move all devlink related functions calls to devlink.c 2019-06-13 13:23:16 -07:00
ecpf.c Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2019-05-31 13:04:06 -07:00
ecpf.h net/mlx5: E-Switch, Replace host_params event with functions_changed event 2019-05-31 12:28:14 -07:00
en.h net/mlx5e: kTLS, Limit DUMP wqe size 2019-10-18 12:11:53 -07:00
en_arfs.c net/mlx5e: Use flow keys dissector to parse packets for ARFS 2019-08-08 13:01:18 -07:00
en_common.c net/mlx5e: Tx, Soften inline mode VLAN dependencies 2019-08-01 12:33:31 -07:00
en_dcbnl.c net/mlx5e: Tx, Soften inline mode VLAN dependencies 2019-08-01 12:33:31 -07:00
en_dim.c linux/dim: Move implementation to .c files 2019-06-25 13:46:39 -07:00
en_ethtool.c net/mlx5e: Do not use non-EXT link modes in EXT mode 2019-11-20 12:33:05 -08:00
en_fs.c net/mlx5e: Improve stateless offload capability check 2019-08-28 11:49:05 -07:00
en_fs_ethtool.c net/mlx5e: Fix traffic duplication in ethtool steering 2019-09-24 12:38:08 +03:00
en_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-22 16:27:24 -08:00
en_rep.c net/mlx5: TC: Offload flow table rules 2019-11-13 14:25:04 -08:00
en_rep.h net/mlx5e: Remove leftover declaration 2019-09-05 14:44:41 -07:00
en_rx.c net/mlx5e: Rx, Update page pool numa node when changed 2019-11-20 11:47:36 -08:00
en_selftest.c net/mlx5e: Fix ethtool self test: link speed 2019-10-29 16:27:20 -07:00
en_stats.c net/mlx5e: kTLS, Enhance TX resync flow 2019-10-18 12:11:54 -07:00
en_stats.h net/mlx5e: kTLS, Enhance TX resync flow 2019-10-18 12:11:54 -07:00
en_tc.c net: use rhashtable_lookup() instead of rhashtable_lookup_fast() 2019-11-23 12:15:01 -08:00
en_tc.h net/mlx5: TC: Offload flow table rules 2019-11-13 14:25:04 -08:00
en_tx.c mlx5-updates-2019-11-01 2019-11-03 19:23:49 -08:00
en_txrx.c net/mlx5e: Add AF_XDP need_wakeup support 2019-08-17 23:07:32 +02:00
eq.c Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2019-08-28 11:48:56 -07:00
eswitch.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-22 16:27:24 -08:00
eswitch.h Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2019-11-13 14:24:58 -08:00
eswitch_offloads.c Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2019-11-13 14:24:58 -08:00
eswitch_offloads_termtbl.c net/mlx5e: Use correct enum to determine uplink port 2019-11-06 14:03:55 -08:00
events.c net/mlx5: E-Switch, Replace host_params event with functions_changed event 2019-05-31 12:28:14 -07:00
fs_cmd.c net/mlx5: Fix NULL pointer dereference in extended destination 2019-10-29 16:27:19 -07:00
fs_cmd.h net/mlx5: Add direct rule fs_cmd implementation 2019-09-03 12:54:23 -07:00
fs_core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-22 16:27:24 -08:00
fs_core.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-11-22 16:27:24 -08:00
fs_counters.c Merge branch 'odp_fixes' into rdma.git for-next 2019-08-21 14:10:36 -03:00
fw.c net/mlx5e: Add kTLS TX HW offload support 2019-07-05 16:29:20 -07:00
health.c net/mlx5: Dump of fw_fatal use updated devlink binary interface 2019-11-12 11:25:44 -08:00
lag.c net/mlx5: LAG, Use port enumerators 2019-11-01 14:55:17 -07:00
lag.h net/mlx5: LAG, Use port enumerators 2019-11-01 14:55:17 -07:00
lag_mp.c net/mlx5: LAG, Use affinity type enumerators 2019-11-01 14:55:17 -07:00
lag_mp.h net/mlx5: LAG, Use affinity type enumerators 2019-11-01 14:55:17 -07:00
main.c RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
mcg.c
mlx5_core.h net/mlx5: Add devlink reload 2019-11-13 14:25:04 -08:00
mr.c RDMA/mlx5: Delete struct mlx5_priv->mkey_table 2019-10-28 16:41:13 -03:00
pagealloc.c net/mlx5: Separate and generalize dma device from pci device 2019-04-29 16:55:05 -07:00
pci_irq.c net/mlx5: Use a single IRQ for all async EQs 2019-06-13 10:59:49 -07:00
pd.c
port.c net/mlx5e: ethtool, Add support for EEPROM high pages query 2019-05-01 14:39:16 -07:00
qp.c net/mlx5: Use debug message instead of warn 2019-08-13 12:58:06 +03:00
rdma.c net/mlx5: Avoid disabling RoCE when uninitialized 2019-09-01 23:44:42 -07:00
rdma.h net/mlx5: Eswitch, enable RoCE loopback traffic 2019-04-29 16:55:32 -07:00
rl.c mlx5: Fix formats with line continuation whitespace 2019-08-02 15:04:54 -04:00
sriov.c net/mlx5: Read num_vfs before disabling SR-IOV 2019-11-13 14:25:03 -08:00
transobj.c net/mlx5: Introduce new TIR creation core API 2019-04-24 12:33:37 -07:00
uar.c Linux 5.1-rc1 2019-04-22 15:25:39 -07:00
vport.c net/mlx5: Don't write read-only fields in MODIFY_HCA_VPORT_CONTEXT command 2019-11-22 13:18:19 -08:00
wq.c net/mlx5: WQ, Move short getters into header file 2019-11-01 14:55:16 -07:00
wq.h net/mlx5: WQ, Move short getters into header file 2019-11-01 14:55:16 -07:00