projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23bddf6
)
net: gemini: remove unnecessary assert
author
Jakub Kicinski
<
[email protected]
>
Wed, 17 Apr 2019 20:51:58 +0000
(13:51 -0700)
committer
David S. Miller
<
[email protected]
>
Fri, 19 Apr 2019 00:06:15 +0000
(17:06 -0700)
The driver does not advertize NETIF_F_FRAGLIST, the stack can't
pass skbs with frags lists to the xmit function.
Signed-off-by: Jakub Kicinski <
[email protected]
>
Reviewed-by: Dirk van der Merwe <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/cortina/gemini.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/cortina/gemini.c
b/drivers/net/ethernet/cortina/gemini.c
index 949103db8a8ad75afab234f879acddc7e8c4a515..9003eb6716cd8621840bbbc75e0ba0540dab7e0a 100644
(file)
--- a/
drivers/net/ethernet/cortina/gemini.c
+++ b/
drivers/net/ethernet/cortina/gemini.c
@@
-1235,8
+1235,6
@@
static int gmac_start_xmit(struct sk_buff *skb, struct net_device *netdev)
int txq_num, nfrags;
union dma_rwptr rw;
- SKB_FRAG_ASSERT(skb);
-
if (skb->len >= 0x10000)
goto out_drop_free;