build test your changes!
Subsystems (2)
David Miller
maintainerKrishna, you add:
+static inline void sk_tx_queue_set(struct sock *sk, int tx_queue)
...
+static inline void sk_tx_queue_clear(struct sock *sk)
...
+static inline int sk_tx_queue_get(const struct sock *sk)
...
+static inline bool sk_tx_queue_recorded(const struct sock *sk)
But then in the net/core/dev.c patch you go:
+ if (sk && sk->sk_dst_cache)
+ sk_record_tx_queue(sk, queue_index);
I cannot see how you did a build test of this, it's absolutely impossible.
I'm reverting.
Hi Dave,
Sorry about the build failure. I did do a build and a stress test. But I missed changing the name sk_record_tx_queue() in both sock.h and dev.c when testing. I caught the miss before sending the patch, but changed the name only in sock.h, and didn't do a final build again. Sorry about this, will not assume next time.
I will fix this (including patch order) and resend after build and test.
Thanks,
- KK
David Miller <[email protected]> wrote on 10/20/2009 11:52:04 AM:
Quoted 31 lines
David Miller <[email protected]>
10/20/2009 11:52 AMTo
Krishna Kumar2/India/IBM@IBMIN
cc
Subject
build test your changes!
Krishna, you add:
(quoted diff) +4
-0+static inline void sk_tx_queue_set(struct sock *sk, int tx_queue) +static inline void sk_tx_queue_clear(struct sock *sk) +static inline int sk_tx_queue_get(const struct sock *sk) +static inline bool sk_tx_queue_recorded(const struct sock *sk)But then in the
net/core/dev.cpatch you go:(quoted diff) +2
-0+ if (sk && sk->sk_dst_cache) + sk_record_tx_queue(sk, queue_index);
Quoted 1 line
I cannot see how you did a build test of this, it's absolutely
impossible.
Quoted 2 lines
I'm reverting.
Quoted 8 lines · Krishna Kumar2 a écrit :
Sorry about the build failure. I did do a build and a stress test. But I missed changing the name
sk_record_tx_queue()in bothsock.handdev.cwhen testing. I caught the miss before sending the patch, but changed the name only insock.h, and didn't do a final build again. Sorry about this, will not assume next time.I will fix this (including patch order) and resend after build and test.
Yes please, I am looking for your patches being added before my next round :)
(Specifically, I was waiting sizeof(struct sock_common) goes from 0x38 to 0x40 on 64 bit arches)