aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_tunnel.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2019-01-22 19:02:17 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-23 11:15:35 -0800
commit3366463513f544c12c6b88c13da4462ee9e7a1a1 (patch)
tree9b2f2ceb689a9334ea1adac44fa84d254a2871fe /net/ipv4/ip_tunnel.c
parentravb: expand rx descriptor data to accommodate hw checksum (diff)
downloadlinux-dev-3366463513f544c12c6b88c13da4462ee9e7a1a1.tar.xz
linux-dev-3366463513f544c12c6b88c13da4462ee9e7a1a1.zip
sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
Use a bitmap to keep track of which partition types we've already seen; for duplicates, return -EEXIST from efx_ef10_mtd_probe_partition() and thus skip adding that partition. Duplicate partitions occur because of the A/B backup scheme used by newer sfc NICs. Prior to this patch they cause sysfs_warn_dup errors because they have the same name, causing us not to expose any MTDs at all. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_tunnel.c')
0 files changed, 0 insertions, 0 deletions