Lines Matching refs:skb2

162 		struct sk_buff *skb2;  in mctp_test_fragment()  local
169 skb2 = skb_dequeue(&rt->pkts); in mctp_test_fragment()
171 if (!skb2) in mctp_test_fragment()
174 hdr2 = mctp_hdr(skb2); in mctp_test_fragment()
200 KUNIT_EXPECT_EQ(test, skb2->len, mtu); in mctp_test_fragment()
202 KUNIT_EXPECT_LE(test, skb2->len, mtu); in mctp_test_fragment()
204 kfree_skb(skb2); in mctp_test_fragment()
334 struct sk_buff *skb, *skb2; in mctp_test_route_input_sk() local
355 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk()
356 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, skb2); in mctp_test_route_input_sk()
359 skb_free_datagram(sock->sk, skb2); in mctp_test_route_input_sk()
363 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk()
364 KUNIT_EXPECT_NULL(test, skb2); in mctp_test_route_input_sk()
404 struct sk_buff *skb, *skb2; in mctp_test_route_input_sk_reasm() local
426 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk_reasm()
429 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, skb2); in mctp_test_route_input_sk_reasm()
430 KUNIT_EXPECT_EQ(test, skb2->len, params->rx_len); in mctp_test_route_input_sk_reasm()
431 skb_free_datagram(sock->sk, skb2); in mctp_test_route_input_sk_reasm()
434 KUNIT_EXPECT_NULL(test, skb2); in mctp_test_route_input_sk_reasm()
540 struct sk_buff *skb, *skb2; in mctp_test_route_input_sk_keys() local
585 skb2 = skb_recv_datagram(sock->sk, MSG_DONTWAIT, &rc); in mctp_test_route_input_sk_keys()
588 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, skb2); in mctp_test_route_input_sk_keys()
590 KUNIT_EXPECT_PTR_EQ(test, skb2, NULL); in mctp_test_route_input_sk_keys()
592 if (skb2) in mctp_test_route_input_sk_keys()
593 skb_free_datagram(sock->sk, skb2); in mctp_test_route_input_sk_keys()