Unverified Commit 307bce9b authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1882 ip6mr: Fix skb_under_panic in ip6mr_cache_report()

parents a60eddcc f96c5e3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1070,7 +1070,7 @@ static int ip6mr_cache_report(struct mr_table *mrt, struct sk_buff *pkt,
		   And all this only to mangle msg->im6_msgtype and
		   to set msg->im6_mbz to "mbz" :-)
		 */
		skb_push(skb, -skb_network_offset(pkt));
		__skb_pull(skb, skb_network_offset(pkt));

		skb_push(skb, sizeof(*msg));
		skb_reset_transport_header(skb);