Re: Serious locking bug in Linux NFS

Matti Aarnio (matti.aarnio@sonera.fi)
Sat, 17 Oct 1998 23:05:30 +0300 (EEST)


...
> > 3) I got this message while starting statd:
> > Oct 16 13:50:15 linuxserver ./statd[23846]: address mismatch: expected
> > 240.92.123.21, got 240.92.123.21
>
> Here is the relevant code:
>
> if (lp->addr.s_addr != sin->sin_addr.s_addr)
> dprintf(L_WARNING, "address mismatch: "
> "expected %s, got %s\n",
> inet_ntoa(lp->addr),
> inet_ntoa(sin->sin_addr));
>
> I don't see how it can happen besides a bad compiler/HW. It looks
> like you may have a compiler/HW.

inet_ntoa() returns a pointer to a static buffer, does it not ?

...
> H.J.

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/