projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b1a002
)
net/core/dev.c: Use frag list abstraction interfaces.
author
David S. Miller
<davem@davemloft.net>
Tue, 9 Jun 2009 07:18:51 +0000
(
00:18
-0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Jun 2009 07:18:51 +0000
(
00:18
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index
1f38401
..
4913089
100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-1820,7
+1820,7
@@
int dev_queue_xmit(struct sk_buff *skb)
if (netif_needs_gso(dev, skb))
goto gso;
- if (skb_
shinfo(skb)->frag_list
&&
+ if (skb_
has_frags(skb)
&&
!(dev->features & NETIF_F_FRAGLIST) &&
__skb_linearize(skb))
goto out_kfree_skb;
@@
-2407,7
+2407,7
@@
int dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb)
if (!(skb->dev->features & NETIF_F_GRO))
goto normal;
- if (skb_is_gso(skb) || skb_
shinfo(skb)->frag_list
)
+ if (skb_is_gso(skb) || skb_
has_frags(skb)
)
goto normal;
rcu_read_lock();