mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 09:13:20 -05:00
net: use netdev_features_t in skb_needs_linearize()
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
99c6bcf46d
commit
6708c9e5cc
1 changed files with 1 additions and 1 deletions
|
@ -2456,7 +2456,7 @@ EXPORT_SYMBOL(netif_skb_features);
|
|||
* 2. skb is fragmented and the device does not support SG.
|
||||
*/
|
||||
static inline int skb_needs_linearize(struct sk_buff *skb,
|
||||
int features)
|
||||
netdev_features_t features)
|
||||
{
|
||||
return skb_is_nonlinear(skb) &&
|
||||
((skb_has_frag_list(skb) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue