Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1381655

Re: [patch -next] udp: fix if statement in SIOCINQ ioctl

From Eric Dumazet <eric.dumazet@gmail.com>
Newsgroups linux.kernel
Subject Re: [patch -next] udp: fix if statement in SIOCINQ ioctl
Date 2016-04-18 14:30 +0200
Message-ID <rpgtt-5Be-9@gated-at.bofh.it> (permalink)
References <rpd2x-2oe-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2016-04-18 at 11:44 +0300, Dan Carpenter wrote:
> We deleted a line of code and accidentally made the "return put_user()"
> part of the if statement when it's supposed to be unconditional.
> 
> Fixes: 9f9a45beaa96 ('udp: do not expect udp headers on ioctl SIOCINQ')
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Acked-by: Eric Dumazet <edumazet@google.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[patch -next] udp: fix if statement in SIOCINQ ioctl Dan Carpenter <dan.carpenter@oracle.com> - 2016-04-18 10:50 +0200
  Re: [patch -next] udp: fix if statement in SIOCINQ ioctl Eric Dumazet <eric.dumazet@gmail.com> - 2016-04-18 14:30 +0200
    Re: [patch -next] udp: fix if statement in SIOCINQ ioctl Willem de Bruijn <willemdebruijn.kernel@gmail.com> - 2016-04-18 15:50 +0200
  Re: [patch -next] udp: fix if statement in SIOCINQ ioctl David Miller <davem@davemloft.net> - 2016-04-18 19:50 +0200

csiph-web