skb_needs_linearize(9)

skb_needs_linearize9

Check if we need to linearize a given skb depending on the given device features.

Usage

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

Arguments

skb

socket buffer to check

features

net device features

Overview

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.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.