![]()  | 
 
lvs-devel
 
 | 
| To: | ja@xxxxxx | 
|---|---|
| Subject: | Re: [PATCHv2 net-next 01/15] net: add skb_dst_set_unref | 
| Cc: | horms@xxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx | 
| From: | David Miller <davem@xxxxxxxxxxxxx> | 
| Date: | Sun, 10 Mar 2013 17:00:04 -0400 (EDT) | 
From: Julian Anastasov <ja@xxxxxx>
Date: Sun, 10 Mar 2013 15:37:34 +0200 (EET)
>       The idea looks good, here is the implementation.
> Can I use it in this form for next patchset versions?
Yes, but with one minor change:
> -     if (unlikely(dst->flags & DST_NOCACHE)) {
> +     if (unlikely(dst->flags & DST_NOCACHE && !force)) {
I keep forgetting the && vs. & operator precedence, and so
do many other people, so please put parenthesis around
the "dst->flags & DST_NOCACHE" expression, thanks.
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
 | 
| Previous by Date: | [PATCH linux-next] ipvs: ip_vs_fill_iph_skb: Silence warning that 'iph.thoff_reasm' may be used uninitialized, Tim Gardner | 
|---|---|
| Next by Date: | Re: [PATCHv2 net-next 01/15] net: add skb_dst_set_unref, Julian Anastasov | 
| Previous by Thread: | Re: [PATCHv2 net-next 01/15] net: add skb_dst_set_unref, Julian Anastasov | 
| Next by Thread: | Re: [PATCHv2 net-next 01/15] net: add skb_dst_set_unref, Julian Anastasov | 
| Indexes: | [Date] [Thread] [Top] [All Lists] |