Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/usb/asix_common.c net/ipv4/inet_connection_sock.c net/switchdev/switchdev.c In the inet_connection_sock.c case the request socket hashing scheme is completely different in net-next. The other two conflicts were overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -357,7 +357,7 @@ static inline u32 msg_importance(struct tipc_msg *m)
|
||||
if (likely((usr <= TIPC_CRITICAL_IMPORTANCE) && !msg_errcode(m)))
|
||||
return usr;
|
||||
if ((usr == MSG_FRAGMENTER) || (usr == MSG_BUNDLER))
|
||||
return msg_bits(m, 5, 13, 0x7);
|
||||
return msg_bits(m, 9, 0, 0x7);
|
||||
return TIPC_SYSTEM_IMPORTANCE;
|
||||
}
|
||||
|
||||
@@ -366,7 +366,7 @@ static inline void msg_set_importance(struct tipc_msg *m, u32 i)
|
||||
int usr = msg_user(m);
|
||||
|
||||
if (likely((usr == MSG_FRAGMENTER) || (usr == MSG_BUNDLER)))
|
||||
msg_set_bits(m, 5, 13, 0x7, i);
|
||||
msg_set_bits(m, 9, 0, 0x7, i);
|
||||
else if (i < TIPC_SYSTEM_IMPORTANCE)
|
||||
msg_set_user(m, i);
|
||||
else
|
||||
|
@@ -1133,7 +1133,7 @@ static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb,
|
||||
}
|
||||
|
||||
/* Ignore duplicate packets */
|
||||
if (less(oseqno, rcv_nxt))
|
||||
if ((usr != LINK_PROTOCOL) && less(oseqno, rcv_nxt))
|
||||
return true;
|
||||
|
||||
/* Initiate or update failover mode if applicable */
|
||||
@@ -1163,8 +1163,8 @@ static bool tipc_node_check_state(struct tipc_node *n, struct sk_buff *skb,
|
||||
if (!pl || !tipc_link_is_up(pl))
|
||||
return true;
|
||||
|
||||
/* Initiate or update synch mode if applicable */
|
||||
if ((usr == TUNNEL_PROTOCOL) && (mtyp == SYNCH_MSG)) {
|
||||
/* Initiate synch mode if applicable */
|
||||
if ((usr == TUNNEL_PROTOCOL) && (mtyp == SYNCH_MSG) && (oseqno == 1)) {
|
||||
syncpt = iseqno + exp_pkts - 1;
|
||||
if (!tipc_link_is_up(l)) {
|
||||
tipc_link_fsm_evt(l, LINK_ESTABLISH_EVT);
|
||||
|
Reference in New Issue
Block a user