Commit 01ff384f authored by Björn Stenberg's avatar Björn Stenberg Committed by Jukka Rissanen
Browse files

net: ipv6: Remove incorrect length assignment in MLDv2



This assignment causes the later code to overwrite part of the
packet, making it malformed.

Signed-off-by: default avatarBjörn Stenberg <bjorn@haxx.se>
parent 9fd4c3a7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -125,7 +125,6 @@ static int send_mldv2_raw(struct net_if *iface, struct net_buf *frags)

#define ROUTER_ALERT_LEN 8

	pkt->frags->len = NET_IPV6ICMPH_LEN + ROUTER_ALERT_LEN;
	net_pkt_set_iface(pkt, iface);

	/* Insert the actual multicast record(s) here */