Skip to content
Merged
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG

## v1.11.1
- [Bug Fix]: [#283](https://github.com/mdlayher/netlink/pull/283) fixed a bug
where `netlink.Conn.Receive` would reject valid netlink messages whose header
length is not aligned. This is common with nfqueue, nflog and conntrack events.
- [Bug Fix]: [#284](https://github.com/mdlayher/netlink/pull/284) fixed a bug
where `netlink.Message.Data` could be silently overwritten by subsequent
`netlink.Conn.Receive` calls when `netlink.Config.MessageBufferSize` is enabled,
due to pooled buffer reuse.
- [Improvement]: [#282](https://github.com/mdlayher/netlink/pull/282) improved
error handling by usage of `errors` package.

## v1.11.0

**This is the first release of package netlink that only supports Go 1.25+.**
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ module github.com/mdlayher/netlink
go 1.25.0

retract (
// contains a bug where `netlink.Conn.Receive` and `netlink.Conn.ReceiveIter` reject
// valid netlink messages whose header length is not aligned.
v1.11.0
// contains a critical bug where `netlink.Conn.Receive` and `netlink.Conn.ReceiveIter`
// would panic if the received message was unaligned.
v1.10.0
Expand Down
2 changes: 1 addition & 1 deletion internal/integration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ require (

// We require a recent release, but in reality the integration tests should
// always use the netlink module at the root of the repository.
require github.com/mdlayher/netlink v1.11.0
require github.com/mdlayher/netlink v1.11.1

replace github.com/mdlayher/netlink => ../../
Loading