On Thu, Apr 25, 2013 at 9:19 PM, Daniel Borkmann wrote:
> Usually I associate sth named assert() that it does an ungraceful exit.
> Maybe __test() or __check()?
This looks like a good idea, will do.
>> + va_list vl;
>> + const char *m;
>> + char msg[BUFSIZ];
>> +
>> + if
On Thu, Apr 25, 2013 at 9:19 PM, Daniel Borkmann dbork...@redhat.com wrote:
Usually I associate sth named assert() that it does an ungraceful exit.
Maybe __test() or __check()?
This looks like a good idea, will do.
+ va_list vl;
+ const char *m;
+ char msg[BUFSIZ];
+
+
On Thu, Apr 25, 2013 at 2:27 PM, Daniel Borkmann wrote:
>> Signed-of-by Alexandru Copot
>
>
> It's: Signed-off-by: Alexandru Copot
>
> You have this wrong in all your patches.
I know, it was copy-pasted and I saw it just after sending. But for now
it's fine, these a
Signed-of-by Alexandru Copot
Cc: Daniel Baluta
---
tools/testing/selftests/net/Makefile | 14 +++--
tools/testing/selftests/net/socket.c | 108 +--
2 files changed, 88 insertions(+), 34 deletions(-)
diff --git a/tools/testing/selftests/net/Makefile
b/tools
Signed-of-by Alexandru Copot
Cc: Daniel Baluta
---
tools/testing/selftests/Makefile| 3 +-
tools/testing/selftests/lib/Makefile| 14 +++
tools/testing/selftests/lib/selftests.c | 57
tools/testing/selftests/lib/selftests.h | 67
Only a part of the boolean socket options for IPv6 are tested.
Signed-of-by Alexandru Copot
Cc: Daniel Baluta
---
tools/testing/selftests/net/Makefile | 3 +-
tools/testing/selftests/net/run_netsocktests | 10 ++
tools/testing/selftests/net/sockopt.c| 185
the
new framework and the third patch creates new tests
for [set/get]sockopt with some IPV6_* options.
Signed-of-by Alexandru Copot
Cc: Daniel Baluta
Changes since v1:
- moved the implementation to selftests/lib
- use goto instead of directly returning
Alexandru Copot (3):
selftests: introduce
the
new framework and the third patch creates new tests
for [set/get]sockopt with some IPV6_* options.
Signed-of-by Alexandru Copot alex.miha...@gmail.com
Cc: Daniel Baluta dbal...@ixiacom.com
Changes since v1:
- moved the implementation to selftests/lib
- use goto instead of directly returning
Signed-of-by Alexandru Copot alex.miha...@gmail.com
Cc: Daniel Baluta dbal...@ixiacom.com
---
tools/testing/selftests/Makefile| 3 +-
tools/testing/selftests/lib/Makefile| 14 +++
tools/testing/selftests/lib/selftests.c | 57
tools/testing/selftests
Only a part of the boolean socket options for IPv6 are tested.
Signed-of-by Alexandru Copot alex.miha...@gmail.com
Cc: Daniel Baluta dbal...@ixiacom.com
---
tools/testing/selftests/net/Makefile | 3 +-
tools/testing/selftests/net/run_netsocktests | 10 ++
tools/testing/selftests/net
Signed-of-by Alexandru Copot alex.miha...@gmail.com
Cc: Daniel Baluta dbal...@ixiacom.com
---
tools/testing/selftests/net/Makefile | 14 +++--
tools/testing/selftests/net/socket.c | 108 +--
2 files changed, 88 insertions(+), 34 deletions(-)
diff --git a/tools
On Thu, Apr 25, 2013 at 2:27 PM, Daniel Borkmann dbork...@redhat.com wrote:
Signed-of-by Alexandru Copot alex.miha...@gmail.com
It's: Signed-off-by: Alexandru Copot alex.miha...@gmail.com
You have this wrong in all your patches.
I know, it was copy-pasted and I saw it just after sending
‘int’
Fix this by sending the intended pointer.
Signed-off-by: Alexandru Copot
---
kernel/audit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 4dbb047..488f85f 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -925,7 +925,7
‘int’
Fix this by sending the intended pointer.
Signed-off-by: Alexandru Copot alex.miha...@gmail.com
---
kernel/audit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 4dbb047..488f85f 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
tirq+0x18b/0x220
[] __do_softirq+0xe1/0x1c0
[] call_softirq+0x1c/0x30
Seems the function vring_add_indirect stores an array of
struct vring_desc by using virt_to_phys and kmemleak
doesn't track the pointer.
The following patch can fix this.
Signed-off-by: Alexandru Copot
CC: Dan
] call_softirq+0x1c/0x30
Seems the function vring_add_indirect stores an array of
struct vring_desc by using virt_to_phys and kmemleak
doesn't track the pointer.
The following patch can fix this.
Signed-off-by: Alexandru Copot alex.miha...@gmail.com
CC: Daniel Baluta dbal...@ixiacom.com
---
drivers
tirq+0x18b/0x220
[] __do_softirq+0xe1/0x1c0
[] call_softirq+0x1c/0x30
Seems the function vring_add_indirect stores an array of
struct vring_desc by using virt_to_phys and kmemleak
doesn't track the pointer.
The following patch can fix this.
Signed-off-by: Alexandru Copot
CC: Dan
] call_softirq+0x1c/0x30
Seems the function vring_add_indirect stores an array of
struct vring_desc by using virt_to_phys and kmemleak
doesn't track the pointer.
The following patch can fix this.
Signed-off-by: Alexandru Copot alex.miha...@gmail.com
CC: Daniel Baluta dbal...@ixiacom.com
---
drivers
18 matches
Mail list logo