lkml.org 
[lkml]   [2004]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing
     On Sat, Jun 05, David S. Miller wrote:

    > I can't see a reason, can anyone else? If there is no reason, the
    > right fix is simply to mask it out at the top level, for both
    > sendmsg and recvmsg.

    I did it first this way, but the result was a long delay until the dhcp
    server replied, the patch sent earlier leads to a fast reply.

    err = sock_recvmsg(sock, &msg_sys, total_len, flags & ~MSG_CMSG_COMPAT);


    --
    USB is for mice, FireWire is for men!

    sUse lINUX ag, nÜRNBERG
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.020 / U:30.732 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site