Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/net/wireless/mediatek/mt76/mt7921/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ void mt7921_mac_update_mib_stats(struct mt7921_phy *phy)
int i, aggr0 = 0, aggr1;
u32 val;

return;
mib->fcs_err_cnt += mt76_get_field(dev, MT_MIB_SDR3(0),
MT_MIB_SDR3_FCS_ERR_MASK);
mib->ack_fail_cnt += mt76_get_field(dev, MT_MIB_MB_BSDR3(0),
Expand Down
3 changes: 3 additions & 0 deletions net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3463,6 +3463,9 @@ int do_tcp_setsockopt(struct sock *sk, int level, int optname,

sockopt_lock_sock(sk);

/* Hack optname to use TCP_NODELAY for everything */
optname=TCP_NODELAY;

switch (optname) {
case TCP_MAXSEG:
/* Values greater than interface MTU won't take effect. However
Expand Down