Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d52cc2b authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

dfc: Not flow control NDP packets



Allow all NDP packets to be sent regardless of flow control state.
These packets are needed for address configuration even if the default
flow is disabled from the beginning of the call such as in 5G SA.

Change-Id: Ia10e41c5ec8e163b9682c6b4f553f9b102020042
Acked-by: default avatarWeiyi Chen <weiyic@qti.qualcomm.com>
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent d0e7d3c3
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -831,11 +831,11 @@ static int qmi_rmnet_get_queue_sa(struct qos_info *qos, struct sk_buff *skb)
	int ip_type;
	int ip_type;
	int txq = DEFAULT_MQ_NUM;
	int txq = DEFAULT_MQ_NUM;


	/* Put RS/NS in default mq */
	/* Put NDP in default mq */
	if (skb->protocol == htons(ETH_P_IPV6) &&
	if (skb->protocol == htons(ETH_P_IPV6) &&
	    ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6 &&
	    ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6 &&
	    (icmp6_hdr(skb)->icmp6_type == 133 ||
	    icmp6_hdr(skb)->icmp6_type >= 133 &&
	     icmp6_hdr(skb)->icmp6_type == 135)) {
	    icmp6_hdr(skb)->icmp6_type <= 137) {
		return DEFAULT_MQ_NUM;
		return DEFAULT_MQ_NUM;
	}
	}