1SKB_NEEDS_LINEARIZE(9)         Linux Networking         SKB_NEEDS_LINEARIZE(9)
2
3
4

NAME

6       skb_needs_linearize - check if we need to linearize a given skb
7       depending on the given device features.
8

SYNOPSIS

10       bool skb_needs_linearize(struct sk_buff * skb,
11                                netdev_features_t features);
12

ARGUMENTS

14       skb
15           socket buffer to check
16
17       features
18           net device features
19

RETURNS TRUE IF EITHER

21       1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb
22       is fragmented and the device does not support SG.
23
25Kernel Hackers Manual 3.10         June 2019            SKB_NEEDS_LINEARIZE(9)
Impressum