Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673728
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next 1/2] ipmr: restrict mroute "queue full" warning to related error values |
| Date | 2017-06-23 19:50 +0200 |
| Message-ID | <tVASu-5aN-15@gated-at.bofh.it> (permalink) |
| References | <tUS54-VR-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Julien Gomes <julien@arista.com> Date: Wed, 21 Jun 2017 10:58:10 -0700 > When sending a cache report on mroute_sk, mroute will emit a > "pending queue full" warning for every error value returned by > sock_queue_rcv_skb(). > This warning can be misleading, for example on the EPERM error value > that sk_filter() can return. > > Restricting this warning to only ENOMEM or ENOBUFS seems more > appropriate. > > Signed-off-by: Julien Gomes <julien@arista.com> Incorrect, no other error codes are possible. We never attach a socket filter to these kernel internal sockets, therefore sk_filter() is not even applicable in this analysis. Therefore, -ENOBUFS and -ENOMEM are the only errors we can ever see returned from sock_queue_rcv_skb(). This goes for your second patch as well.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH net-next 1/2] ipmr: restrict mroute "queue full" warning to related error values Julien Gomes <julien@arista.com> - 2017-06-21 20:00 +0200
Re: [PATCH net-next 1/2] ipmr: restrict mroute "queue full" warning to related error values David Miller <davem@davemloft.net> - 2017-06-23 19:50 +0200
Re: [PATCH net-next 1/2] ipmr: restrict mroute "queue full" warning to related error values Julien Gomes <julien@arista.com> - 2017-06-23 20:00 +0200
Re: [PATCH net-next 1/2] ipmr: restrict mroute "queue full" warning to related error values David Miller <davem@davemloft.net> - 2017-06-23 20:50 +0200
Re: [PATCH net-next 1/2] ipmr: restrict mroute "queue full" warning to related error values Julien Gomes <julien@arista.com> - 2017-06-23 22:20 +0200
csiph-web