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:
a535aa1
)
ixgb: Convert dev_alloc_skb to netdev_alloc_skb.
author
Auke Kok
<auke\-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:50 +0000
(14:27 -0700)
committer
Auke Kok
<juke-jan.h.kok@intel.com>
Thu, 31 Aug 2006 21:27:50 +0000
(14:27 -0700)
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/ixgb/ixgb_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ixgb/ixgb_main.c
b/drivers/net/ixgb/ixgb_main.c
index 346273d42f9742b9ab5fc3be91decf4e86e9a43b..6959735d4eba40d7bb3fba542d82b646e5edc77a 100644
(file)
--- a/
drivers/net/ixgb/ixgb_main.c
+++ b/
drivers/net/ixgb/ixgb_main.c
@@
-1948,7
+1948,7
@@
ixgb_clean_rx_irq(struct ixgb_adapter *adapter)
#define IXGB_CB_LENGTH 256
if (length < IXGB_CB_LENGTH) {
struct sk_buff *new_skb =
-
dev_alloc_skb(
length + NET_IP_ALIGN);
+
netdev_alloc_skb(netdev,
length + NET_IP_ALIGN);
if (new_skb) {
skb_reserve(new_skb, NET_IP_ALIGN);
new_skb->dev = netdev;
@@
-2032,7
+2032,7
@@
ixgb_alloc_rx_buffers(struct ixgb_adapter *adapter)
while(--cleancount > 2) {
/* recycle! its good for you */
if (!(skb = buffer_info->skb))
- skb =
dev_alloc_skb(
adapter->rx_buffer_len
+ skb =
netdev_alloc_skb(netdev,
adapter->rx_buffer_len
+ NET_IP_ALIGN);
else {
skb_trim(skb, 0);