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

Commit 7eee966c authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Add proper check for incoming skb"

parents 61e1e42e 73e7ec72
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1204,6 +1204,11 @@ static netdev_tx_t ipa3_wwan_xmit(struct sk_buff *skb, struct net_device *dev)
		return NETDEV_TX_OK;
	}

	if (unlikely(skb == NULL)) {
		IPAWANERR_RL("unexpected NULL data\n");
		return NETDEV_TX_BUSY;
	}

	if (skb->protocol != htons(ETH_P_MAP)) {
		IPAWANDBG_LOW
		("SW filtering out none QMAP packet received from %s",