Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizations #597

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Optimizations #597

wants to merge 2 commits into from

Conversation

corny
Copy link
Contributor

@corny corny commented Nov 23, 2020

No description provided.

@@ -362,46 +362,44 @@ func (a *RtAttr) Serialize() []byte {

type NetlinkRequest struct {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an exported type. Other project may already be using it and the members you are removing are unfortunately exported as well.

func (req *NetlinkRequest) AddData(data NetlinkRequestData) {
req.Data = append(req.Data, data)
// AddRtAttr adds an RtAttr to the request
func (req *NetlinkRequest) AddRtAttr(attrType int, data []byte) *NetlinkRequest {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one also changes existing exported methods.

Copy link
Collaborator

@aboch aboch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the change.
We need to see how to deal with the API changes

@aboch
Copy link
Collaborator

aboch commented Nov 23, 2020

Looks like the Travis failed at the same test as in #581
Please double check, it may be indeed caused by your changes, or the test needs to be updated

@aboch
Copy link
Collaborator

aboch commented Dec 28, 2020

pls fix conflicts

@aboch
Copy link
Collaborator

aboch commented Sep 16, 2021

ping...

@vishvananda vishvananda changed the base branch from master to main January 12, 2022 22:36
@vishvananda vishvananda reopened this Jan 12, 2022
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.

3 participants