-
Notifications
You must be signed in to change notification settings - Fork 19.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: bump 5.4 to 5.4.275 (#12128)
- Loading branch information
1 parent
e5c26e9
commit 23a35d1
Showing
7 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
LINUX_VERSION-5.4 = .274 | ||
LINUX_KERNEL_HASH-5.4.274 = eac7b421a43cd46a3dbebf7c85d075faa7e164d80d215d31fcd35544b6f79ed4 | ||
LINUX_VERSION-5.4 = .275 | ||
LINUX_KERNEL_HASH-5.4.275 = dad2b068946f0ca0026130d7ab17601d5074d90b381379c4479314d4edf4304c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1775,7 +1775,7 @@ Signed-off-by: David S. Miller <[email protected]> | |
eth_hw_addr_inherit(slave_dev, master); | ||
--- a/net/ethernet/eth.c | ||
+++ b/net/ethernet/eth.c | ||
@@ -550,13 +550,14 @@ unsigned char * __weak arch_get_platform | ||
@@ -540,13 +540,14 @@ unsigned char * __weak arch_get_platform | ||
|
||
int eth_platform_get_mac_address(struct device *dev, u8 *mac_addr) | ||
{ | ||
|
4 changes: 2 additions & 2 deletions
4
target/linux/generic/hack-5.4/995-usb-serial-option-add-ec200a.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -506,7 +506,7 @@ Signed-off-by: Pablo Neira Ayuso <[email protected]> | |
+MODULE_ALIAS("nf-flow-table-hw"); | ||
--- a/net/netfilter/nf_tables_api.c | ||
+++ b/net/netfilter/nf_tables_api.c | ||
@@ -6041,6 +6041,13 @@ static int nf_tables_flowtable_parse_hoo | ||
@@ -6045,6 +6045,13 @@ static int nf_tables_flowtable_parse_hoo | ||
if (err < 0) | ||
return err; | ||
|
||
|
@@ -520,7 +520,7 @@ Signed-off-by: Pablo Neira Ayuso <[email protected]> | |
ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL); | ||
if (!ops) | ||
return -ENOMEM; | ||
@@ -6190,10 +6197,19 @@ static int nf_tables_newflowtable(struct | ||
@@ -6194,10 +6201,19 @@ static int nf_tables_newflowtable(struct | ||
} | ||
|
||
flowtable->data.type = type; | ||
|
@@ -540,7 +540,7 @@ Signed-off-by: Pablo Neira Ayuso <[email protected]> | |
err = nf_tables_flowtable_parse_hook(&ctx, nla[NFTA_FLOWTABLE_HOOK], | ||
flowtable); | ||
if (err < 0) | ||
@@ -6319,7 +6335,8 @@ static int nf_tables_fill_flowtable_info | ||
@@ -6323,7 +6339,8 @@ static int nf_tables_fill_flowtable_info | ||
nla_put_string(skb, NFTA_FLOWTABLE_NAME, flowtable->name) || | ||
nla_put_be32(skb, NFTA_FLOWTABLE_USE, htonl(flowtable->use)) || | ||
nla_put_be64(skb, NFTA_FLOWTABLE_HANDLE, cpu_to_be64(flowtable->handle), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,14 +136,14 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
/** | ||
* eth_type_trans - determine the packet's protocol ID. | ||
* @skb: received socket data | ||
@@ -174,6 +186,10 @@ __be16 eth_type_trans(struct sk_buff *sk | ||
} else { | ||
skb->pkt_type = PACKET_OTHERHOST; | ||
@@ -470,6 +482,10 @@ struct sk_buff *eth_gro_receive(struct l | ||
NAPI_GRO_CB(p)->same_flow = 0; | ||
continue; | ||
} | ||
+ | ||
+ if (eth_check_local_mask(eth->h_dest, dev->dev_addr, | ||
+ dev->local_addr_mask)) | ||
+ skb->gro_skip = 1; | ||
} | ||
|
||
/* | ||
type = eh->h_proto; |
23a35d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/qwerttvv/Router/actions/runs/8955476730/job/24596211721#step:13:110
23a35d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把别人要打path的函数都搞错了,能不错么,用这个patch @qwerttvv
680-NET-skip-GRO-for-foreign-MAC-addresses.patch
23a35d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool,多谢