Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.25-rc7 /net/tipc/link.c

Filename:/net/tipc/link.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.25-rc6  2.6.25-rc5  2.6.25-rc4  2.6.25-rc3-git6  2.6.25-rc3-git5  2.6.25-rc3-git4 
(Following) 2.6.25-rc8  2.6.25-rc9  2.6.25  2.6.25-git2  2.6.25-git3  2.6.25-git4 

Location
[  2.6.25-rc7
  [  net
    [  tipc
       o  link.c

Patch

diff --git a/net/tipc/link.c b/net/tipc/link.c
index 1b17fec..cefa998 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -3251,7 +3251,7 @@ static void link_print(struct link *l_ptr, struct print_buf *buf,
       if ((mod(msg_seqno(buf_msg(l_ptr->last_out)) -
           msg_seqno(buf_msg(l_ptr->first_out)))
            != (l_ptr->out_queue_size - 1))
-          || (l_ptr->last_out->next != 0)) {
+          || (l_ptr->last_out->next != NULL)) {
          tipc_printf(buf, "\nSend queue inconsistency\n");
          tipc_printf(buf, "first_out= %x ", l_ptr->first_out);
          tipc_printf(buf, "next_out= %x ", l_ptr->next_out);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.