Skip to content

Fix sockaddr - #168

Merged
2 commits merged into
masterfrom
unknown repository
Jun 18, 2016
Merged

Fix sockaddr#168
2 commits merged into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jun 18, 2016

Copy link
Copy Markdown

This change is Reviewable

Octavian Purdila added 2 commits June 18, 2016 22:24
__kernel_sockaddr_storage is just the kernel internal storage space for
sockaddr. The userspace visible sockaddr needs to be 16 bytes, as that
is what used in several other structures visible to userpace APIs (e.g.
struct arpreq).

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Even if run_netperf.sh uses #!/bin/bash it is invoked via sh which under
Ubuntu may be dash.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
@ghost

ghost commented Jun 18, 2016

Copy link
Copy Markdown
Author

@liuyuan10 I think I have a fix for the sockaddr issue. Can you please review and test your change on top of this PR? Thank yuo!

@liuyuan10

Copy link
Copy Markdown
Member

LGTM
my change works with this PR

@thehajime

Copy link
Copy Markdown
Member

LGTM too

@ghost
ghost merged commit e9c3b4a into lkl:master Jun 18, 2016
@liuyuan10 liuyuan10 mentioned this pull request Jun 18, 2016
This pull request was closed.
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.

2 participants