projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: add skb_[inner_]tcp_all_headers helpers
[platform/kernel/linux-starfive.git]
/
drivers
/
net
/
ethernet
/
marvell
/
sky2.c
diff --git
a/drivers/net/ethernet/marvell/sky2.c
b/drivers/net/ethernet/marvell/sky2.c
index
9f1a7ec
..
bbea545
100644
(file)
--- a/
drivers/net/ethernet/marvell/sky2.c
+++ b/
drivers/net/ethernet/marvell/sky2.c
@@
-1863,7
+1863,7
@@
static netdev_tx_t sky2_xmit_frame(struct sk_buff *skb,
if (mss != 0) {
if (!(hw->flags & SKY2_HW_NEW_LE))
- mss +=
ETH_HLEN + ip_hdrlen(skb) + tcp_hdrlen
(skb);
+ mss +=
skb_tcp_all_headers
(skb);
if (mss != sky2->tx_last_mss) {
le = get_tx_le(sky2, &slot);