On Sat, Oct 31, 2020 at 12:48 PM Willem de Bruijn
wrote:
>
> Returning code in branches vs an error jump label seems more of a
> personal preference, and to me does not pass the benefit/cost threshold.
This patch is necessary for the 2nd and 5th patch in this series,
because the 2nd and 5th patch
On Sat, 31 Oct 2020 15:47:28 -0400 Willem de Bruijn wrote:
> On Sat, Oct 31, 2020 at 12:02 PM Xie He wrote:
> > On Sat, Oct 31, 2020 at 8:18 AM Xie He wrote:
> > > > Especially without that, I'm not sure this and the follow-on patch add
> > > > much value. Minor code cleanups complicate backpor
On Sat, Oct 31, 2020 at 12:02 PM Xie He wrote:
>
> On Sat, Oct 31, 2020 at 8:18 AM Xie He wrote:
> >
> > > Especially without that, I'm not sure this and the follow-on patch add
> > > much value. Minor code cleanups complicate backports of fixes.
> >
> > To me this is necessary, because I feel ha
On Sat, Oct 31, 2020 at 8:18 AM Xie He wrote:
>
> > Especially without that, I'm not sure this and the follow-on patch add
> > much value. Minor code cleanups complicate backports of fixes.
>
> To me this is necessary, because I feel hard to do any development on
> un-cleaned-up code. I really don
On Sat, Oct 31, 2020 at 7:33 AM Willem de Bruijn
wrote:
>
> > - rx_error:
> > +rx_error:
> > frad->stats.rx_errors++; /* Mark error */
> > +rx_drop:
> > dev_kfree_skb_any(skb);
> > return NET_RX_DROP;
>
> I meant that I don't think errors should be double counted in rx_erro
On Fri, Oct 30, 2020 at 8:50 PM Xie He wrote:
>
> When the fr_rx function drops a received frame (because the protocol type
> is not supported, or because the PVC virtual device that corresponds to
> the DLCI number and the protocol type doesn't exist), the function frees
> the skb and returns.
>
When the fr_rx function drops a received frame (because the protocol type
is not supported, or because the PVC virtual device that corresponds to
the DLCI number and the protocol type doesn't exist), the function frees
the skb and returns.
The code for freeing the skb and returning is repeated sev
7 matches
Mail list logo