From: Stephen Hemminger
> Sent: 20 September 2016 18:48
...
> > -   sndmem = 2 * nr_segs * per_mss;
> > +   sndmem = ca_ops->sndbuf_expand ? ca_ops->sndbuf_expand(sk) : 2;
> 
> You could avoid the conditional (if it mattered) by inheriting a default value
> that would mean changing all existing congestion control modules.
> So doing it this way makes life easier.

The indirect call is probably worse than the conditional.

        David

Reply via email to