Skip to content

Commit 9f2e29e

Browse files
committed
ovs: fix dpif-netlink ofpbuf memory leak (#2620)
1 parent bd6f1bb commit 9f2e29e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ image-kube-ovn: build-go
6161

6262
.PHONY: image-debug
6363
image-debug: build-go
64-
docker buildx build --platform linux/amd64 --build-arg ARCH=amd64 -t $(REGISTRY)/kube-ovn:$(RELEASE_TAG) -o type=docker -f dist/images/Dockerfile.debug dist/images/
64+
docker buildx build --platform linux/amd64 --build-arg ARCH=amd64 -t $(REGISTRY)/kube-ovn:debug -o type=docker -f dist/images/Dockerfile.debug dist/images/
6565

6666
.PHONY: image-vpc-nat-gateway
6767
image-vpc-nat-gateway:

dist/images/Dockerfile.base

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ RUN cd /usr/src/ && \
1515
cd ovs && \
1616
# ofproto: Fix re-creation of tunnel backing interfaces on restart.
1717
curl -s https://github.com/openvswitch/ovs/commit/8661abd4c41a89116fbd4e4d210e73165cedd323.patch | git apply && \
18+
# dpif-netlink.: fix ofpbuf memory leak
19+
curl -s https://github.com/kubeovn/ovs/commit/c57d7a24cf72a55193aee9bcc2d0425e9477a45b.patch | git apply && \
1820
# fix memleak
1921
curl -s https://github.com/kubeovn/ovs/commit/2dc8e7aa202818952b2fa80b47298604530c9de0.patch | git apply && \
2022
# fix log file descriptor leak in monitor process

0 commit comments

Comments
 (0)