Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
We got slightly different patches removing a double word
in a comment in net/ipv4/raw.c - picked the version from net.
Simple conflict in drivers/net/ethernet/ibm/ibmvnic.c. Use cached
values instead of VNIC login response buffer (following what
commit 507ebe6444
("ibmvnic: Fix use-after-free of VNIC login
response buffer") did).
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -296,7 +296,7 @@ nfp_net_tls_add(struct net_device *netdev, struct sock *sk,
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case AF_INET:
|
||||
req_sz = sizeof(struct nfp_crypto_req_add_v4);
|
||||
ipv6 = false;
|
||||
|
@@ -297,7 +297,7 @@ nfp_fl_get_tun_from_act(struct nfp_app *app,
|
||||
case htons(GENEVE_UDP_PORT):
|
||||
if (priv->flower_ext_feats & NFP_FL_FEATS_GENEVE)
|
||||
return NFP_FL_TUNNEL_GENEVE;
|
||||
/* FALLTHROUGH */
|
||||
fallthrough;
|
||||
default:
|
||||
return NFP_FL_TUNNEL_NONE;
|
||||
}
|
||||
|
@@ -289,7 +289,7 @@ nfp_flower_cmsg_process_one_rx(struct nfp_app *app, struct sk_buff *skb)
|
||||
skb_stored = nfp_flower_lag_unprocessed_msg(app, skb);
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
default:
|
||||
err_default:
|
||||
nfp_flower_cmsg_warn(app, "Cannot handle invalid repr control type %u\n",
|
||||
|
@@ -810,7 +810,7 @@ nfp_flower_copy_pre_actions(char *act_dst, char *act_src, int len,
|
||||
case NFP_FL_ACTION_OPCODE_PRE_TUNNEL:
|
||||
if (tunnel_act)
|
||||
*tunnel_act = true;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case NFP_FL_ACTION_OPCODE_PRE_LAG:
|
||||
memcpy(act_dst + act_off, act_src + act_off, act_len);
|
||||
break;
|
||||
|
@@ -61,6 +61,7 @@ struct nfp_tun_active_tuns {
|
||||
* @flags: options part of the request
|
||||
* @tun_info.ipv6: dest IPv6 address of active route
|
||||
* @tun_info.egress_port: port the encapsulated packet egressed
|
||||
* @tun_info.extra: reserved for future use
|
||||
* @tun_info: tunnels that have sent traffic in reported period
|
||||
*/
|
||||
struct nfp_tun_active_tuns_v6 {
|
||||
@@ -70,6 +71,7 @@ struct nfp_tun_active_tuns_v6 {
|
||||
struct route_ip_info_v6 {
|
||||
struct in6_addr ipv6;
|
||||
__be32 egress_port;
|
||||
__be32 extra[2];
|
||||
} tun_info[];
|
||||
};
|
||||
|
||||
|
@@ -137,7 +137,7 @@ static u16 nfp_swreg_to_unreg(swreg reg, bool is_dst)
|
||||
val;
|
||||
case NN_LM_MOD_DEC:
|
||||
lm_dec = true;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case NN_LM_MOD_INC:
|
||||
if (val) {
|
||||
pr_err("LM offset in inc/dev mode\n");
|
||||
|
@@ -1940,10 +1940,10 @@ static int nfp_net_rx(struct nfp_net_rx_ring *rx_ring, int budget)
|
||||
continue;
|
||||
default:
|
||||
bpf_warn_invalid_xdp_action(act);
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case XDP_ABORTED:
|
||||
trace_xdp_exception(dp->netdev, xdp_prog, act);
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case XDP_DROP:
|
||||
nfp_net_rx_give_one(dp, rx_ring, rxbuf->frag,
|
||||
rxbuf->dma_addr);
|
||||
|
@@ -340,12 +340,12 @@ static int matching_bar(struct nfp_bar *bar, u32 tgt, u32 act, u32 tok,
|
||||
switch (maptype) {
|
||||
case NFP_PCIE_BAR_PCIE2CPP_MapType_TARGET:
|
||||
bartok = -1;
|
||||
/* FALLTHROUGH */
|
||||
fallthrough;
|
||||
case NFP_PCIE_BAR_PCIE2CPP_MapType_BULK:
|
||||
baract = NFP_CPP_ACTION_RW;
|
||||
if (act == 0)
|
||||
act = NFP_CPP_ACTION_RW;
|
||||
/* FALLTHROUGH */
|
||||
fallthrough;
|
||||
case NFP_PCIE_BAR_PCIE2CPP_MapType_FIXED:
|
||||
break;
|
||||
default:
|
||||
|
@@ -213,7 +213,7 @@ u64 nfp_rtsym_size(const struct nfp_rtsym *sym)
|
||||
return 0;
|
||||
default:
|
||||
pr_warn("rtsym '%s': unknown type: %d\n", sym->name, sym->type);
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case NFP_RTSYM_TYPE_OBJECT:
|
||||
case NFP_RTSYM_TYPE_FUNCTION:
|
||||
return sym->size;
|
||||
|
Reference in New Issue
Block a user