Skip to content

[FRR]Adding fix for memory leak seen with BGP community#89

Closed
dgsudharsan wants to merge 17 commits into202305from
frr_mem_com
Closed

[FRR]Adding fix for memory leak seen with BGP community#89
dgsudharsan wants to merge 17 commits into202305from
frr_mem_com

Conversation

@dgsudharsan
Copy link
Owner

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

dgsudharsan and others added 16 commits March 7, 2024 03:31
Why I did it
Reverting DHCP counter changes due to unexpected packet drops seen in recv buffer, causing counter counts to be inaccurate in dhcpmon and affecting dhcp6relay performance

Work item tracking
Microsoft ADO (number only): 26918588
How I did it
Reset submodule head and revert related dockerfile changes

How to verify it
Ran mgmt test and stress test
…atically (sonic-net#18289)

#### Why I did it
src/sonic-utilities
```
* 49af6dfb - (HEAD -> 202305, origin/202305) Several fixes and updates for ecnconfig (sonic-net#2889) (22 hours ago) [rbpittman]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…D automatically (sonic-net#18302)

#### Why I did it
src/sonic-platform-daemons
```
* 72e9a28 - (HEAD -> 202305, origin/202305) Enable periodic polling of TRANSCEIVER_FIRMWARE_INFO table in DomInfoUpdateTask (sonic-net#443) (sonic-net#445) (10 hours ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…some-cases (sonic-net#18246)

Why I did it
FRR issue
FRRouting/frr#15459
Add patch for FRR PR for 202305
FRRouting/frr#15466

Work item tracking
Microsoft ADO (number only):
26876083
How I did it
Add patch for FRR PR
FRRouting/frr#15466

How to verify it
Run the original case locally
* [Security] Fix the krb5 vulnerability issue (sonic-net#17914)

### Why I did it
Fix the krb5 vulnerable issue
CVE-2021-36222  allows remote attackers to cause a NULL pointer dereference and daemon crash
CVE-2021-37750  NULL pointer dereference in kdc/do_tgs_req.c via a FAST inner body that lacks a server field
DSA 5286-1  remote code execution

##### Work item tracking
- Microsoft ADO **(number only)**: 26577929

#### How I did it
Upgrade the krb5 version to 1.18.3-6+deb11u14+fips.

* [Build] Fix krb5 package not found issue (sonic-net#17926)

Why I did it
Fix the build issue caused by the wrong version specified.

See the build error logs:

Try 4: /usr/bin/wget --retry-connrefused failed to get: -O
--2024-01-26 11:38:23--  https://sonicstorage.blob.core.windows.net/public/fips/bullseye/0.10/amd64/libk5crypto3_1.18.3-6+deb11u14+fips_amd64.deb
Resolving sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)... 20.60.59.131
Connecting to sonicstorage.blob.core.windows.net (sonicstorage.blob.core.windows.net)|20.60.59.131|:443... connected.
HTTP request sent, awaiting response... 404 The specified blob does not exist.
2024-01-26 11:38:23 ERROR 404: The specified blob does not exist..

Try 5: /usr/bin/wget --retry-connrefused failed to get: -O
make[1]: *** [Makefile:12: /sonic/target/debs/bullseye/symcrypt-openssl_0.10_amd64.deb] Error 8
make[1]: Leaving directory '/sonic/src/sonic-fips'
Work item tracking
Microsoft ADO (number only): 26577929
The package not installed but PR passed issue is traced in another issue sonic-net#17927

How I did it
Add the libkrb5-dev and the depended packages to fix docker-sonic-vs build failure.
The package libzmq3-dev has dependency on the libkrb5-dev.

* [202305] Support FIPS for armhf

* Remove no use mirror

* Fix fips options issue
Why I did it
Fix the build broken issue:

Processing /sonic_host_services-1.0-py3-none-any.whl
Requirement already satisfied: dbus-python in /usr/lib/python3/dist-packages (from sonic-host-services==1.0) (1.2.16)
Requirement already satisfied: systemd-python in /usr/local/lib/python3.9/dist-packages (from sonic-host-services==1.0) (235)
Requirement already satisfied: Jinja2>=2.10 in /usr/local/lib/python3.9/dist-packages (from sonic-host-services==1.0) (3.1.2)
Collecting PyGObject (from sonic-host-services==1.0)
  Downloading pygobject-3.48.0.tar.gz (714 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 714.2/714.2 kB 13.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'error'
  error: subprocess-exited-with-error
  
Work item tracking
Microsoft ADO (number only): 27124786
How I did it
Install the pygobject before installing the sonic_host_services.
If installing during the .,whl, it will try to install the latest version (3.48.0), then it will have an issue. Prefer to use the version 3.46.0, see

sonic-buildimage/files/build/versions/host-image/versions-py3

Line 55 in a6437d8

 pygobject==3.46.0 

It will not add a new package, only install the depended packages firstly.
…atically (sonic-net#18316)

#### Why I did it
src/sonic-utilities
```
* e2ac2b63 - (HEAD -> 202305, origin/202305) [Bug] Fix fw_setenv illegel character issue (sonic-net#3201) (2 days ago) [xumia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…lly (sonic-net#18315)

#### Why I did it
src/sonic-swss
```
* 1d651e8b - (HEAD -> 202305, origin/202305) Fix the Orchagent crash seen during Port channel OC test cases. (sonic-net#3042) (2 days ago) [saksarav-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
… router recovery time (sonic-net#18285)

Why I did it
On certain routers with baud rate 9600, crash kernel is taking a long time , close to ~5mins, to complete kernel dump and reload the box. On contrast to routers with baud rate 115200, crash kernel dump process is observed to be completed under 35s-60s (depending on the platform). Currently, all debug and informational messages are printed on the console which also factors in for the delay seen. Unless the router is monitored on console in real time, these messages are not very useful. Setting the loglevel to warning will help reduce the verbosity of logs on console, in turn allow crash kernel dump process to be completed in a reasonable time which will also help in overall router recovery time.

How I did it
Setting loglevel attribute in crashkernel cmdline

How to verify it
Install SONiC image with crashkernel cmdline with loglevel set to warning and initiate an induced a crash (sysrq-trigger)
crashkernel boot and dump process will be completed in 20s-30s depending on the platform
…atically (sonic-net#18331)

#### Why I did it
src/sonic-utilities
```
* c0ba32ad - (HEAD -> 202305, origin/202305) CLI to skip polling for periodic information for a port in DomInfoUpdateTask thread (sonic-net#3187) (16 hours ago) [mihirpat1]
* 261cfdf7 - CLI enhancements to revtrieve data from TRANSCEIVER_FIRMWARE_INFO table (sonic-net#3177) (sonic-net#3189) (19 hours ago) [mssonicbld]
* 6160ee79 - [202305][config] Add YANG alerting for override (sonic-net#3195) (20 hours ago) [jingwenxie]
* a55624d8 - [fast/warm-reboot] Put ERR message in syslog when a failure is seen (sonic-net#3186) (34 hours ago) [Vaibhav Hemant Dixit]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…lly (sonic-net#18256)

#### Why I did it
src/sonic-gnmi
```
* 71ae185 - (HEAD -> 202305, origin/202305) Merge pull request sonic-net#202 from sonic-net/revert-191-cherry/202305/190 (82 minutes ago) [StormLiangMS]
|\ 
| failure_prs.log e2b78b4 - (origin/revert-191-cherry/202305/190) Revert "Fix sonic string in osversion/build (sonic-net#190)" (2 hours ago) [StormLiangMS]
|/ 
* b431273 - Account for GLOBAL key in PFC_WD (sonic-net#178) (6 days ago) [Zain Budhwani]
* e1af33f - Merge pull request sonic-net#199 from abdosi/202305 (6 days ago) [StormLiangMS]
|\ 
| failure_prs.log f7e216b - Update db_client.go (6 days ago) [abdosi]
|/ 
* ec3f56d - Fix sonic string in osversion/build (sonic-net#190) (9 days ago) [Zain Budhwani]
```
#### How I did it
#### How to verify it
#### Description for the changelog
dgsudharsan pushed a commit that referenced this pull request Oct 15, 2024
…e latest HEAD automatically (sonic-net#20441)

#### Why I did it
src/wpasupplicant/sonic-wpa-supplicant
```
* 6153c6d52 - (HEAD -> master, origin/master, origin/HEAD) Changes to support PAC and 802.1X interaction (#89) (28 hours ago) [Vijaya Kumar Abbaraju]
```
#### How I did it
#### How to verify it
#### Description for the changelog
dgsudharsan pushed a commit that referenced this pull request Aug 20, 2025
…er-dependency (sonic-net#23716)

#### Why I did it
sonic-swss-common
```
dc05565 2025-08-14 | Revert "[strict yang] Add YANG based cfg_schema.h to schema.h (sonic-net#1008)" (sonic-net#1067) [jingwenxie]
e782b12 2025-08-12 | Add c-api/Rust wrappers for ConfigDBConnector and EventPublisher (sonic-net#1062) [Qi Luo]
1484a85 2025-08-08 | Ignore nonexistent include in database_global.json (sonic-net#1041) [yue-fred-gao]
839ddf0 2025-08-08 | [strict yang] Add YANG based cfg_schema.h to schema.h (sonic-net#1008) [jingwenxie]
```

sonic-dash-ha
```
6163990 2025-08-12 | Update sonic_db_config_initialize_global with extra argument (#98) [yue-fred-gao]
01a88ef 2025-08-07 | Suppress update from consumer bridge if there is no change (#89) [yue-fred-gao]
```
dgsudharsan pushed a commit that referenced this pull request Dec 16, 2025
…tomatically (sonic-net#1610)

#### Why I did it
src/sonic-gnmi
```
* 0222d5f - (HEAD -> 202412, origin/202412) Merge pull request #101 from Azure/202412-dev (2 hours ago) [Zain Budhwani]
* ec20f64 - (origin/202412-dev) Support Show Interface tranceiver lpmode  (#92) (17 hours ago) [yiliu4]
* c9b5498 - "Make interface as arg instead of option for `show interface alias` and `show interface flap` (#100) (24 hours ago) [axin]
* e9f0e29 - Add show interfaces portchannel /ecn (#77) (27 hours ago) [jiayuj2021]
* 126f6fe - Add implementation for 'show ipv6 prefix-list' (#84) (34 hours ago) [nanali-msft]
* 9977ae6 - Remove non-common functions from show_common.go (#98) (34 hours ago) [gnemuw]
* d76043c - Add option SONIC_CLI_IFACE_MODE to support naming mode environment variable refresh in gnmi (#88) (2 days ago) [axin]
* 37692e9 - Replacing the `queue-type` option with subcommands for `show queue watermark` (#89) (2 days ago) [mramezani95]
* 3f4bd4b - Fix srv6 stats (#95) (2 days ago) [Changrong Wu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants