projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee03987
)
netdevice.h: Use frag list abstraction interfaces.
author
David S. Miller
<davem@davemloft.net>
Tue, 9 Jun 2009 07:17:27 +0000
(
00:17
-0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Jun 2009 07:17:27 +0000
(
00:17
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index 2a801380b502c626d56c3699d84e1143333fc62c..9ea8d6dfe54058ae95515de7f1b6bcdcb173142f 100644
(file)
--- a/
include/linux/netdevice.h
+++ b/
include/linux/netdevice.h
@@
-1904,7
+1904,7
@@
static inline int net_gso_ok(int features, int gso_type)
static inline int skb_gso_ok(struct sk_buff *skb, int features)
{
return net_gso_ok(features, skb_shinfo(skb)->gso_type) &&
- (!skb_
shinfo(skb)->frag_list
|| (features & NETIF_F_FRAGLIST));
+ (!skb_
has_frags(skb)
|| (features & NETIF_F_FRAGLIST));
}
static inline int netif_needs_gso(struct net_device *dev, struct sk_buff *skb)