table of contents
other versions
SKB_NEEDS_LINEARIZE(9) | Linux Networking | SKB_NEEDS_LINEARIZE(9) |
NAME¶
skb_needs_linearize - check if we need to linearize a given skb depending on the given device features.
SYNOPSIS¶
bool skb_needs_linearize(struct sk_buff * skb, netdev_features_t features);
ARGUMENTS¶
struct sk_buff * skb
socket buffer to check
netdev_features_t features
net device features
DESCRIPTION¶
Returns true if either: 1. skb has frag_list and the device doesn't support FRAGLIST, or 2. skb is fragmented and the device does not support SG.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |