[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130329.151120.296920819953677221.davem@davemloft.net>
Date: Fri, 29 Mar 2013 15:11:20 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: shmulik.ladkani@...il.com
Cc: greearb@...delatech.com, netdev@...r.kernel.org, rgohita@...il.com
Subject: Re: [PATCH] net: core: Remove redundant call to 'nf_reset' in
'dev_forward_skb'
From: Shmulik Ladkani <shmulik.ladkani@...il.com>
Date: Thu, 28 Mar 2013 11:13:26 +0200
> 'nf_reset' is called just prior calling 'netif_rx'.
> No need to call it twice.
>
> Reported-by: Igor Michailov <rgohita@...il.com>
> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@...il.com>
I do not see this happening in the:
macvlan_start_xmit()
--> macvlan_queue_xmit()
code path.
I'm not applying this patch. There seems to be no real agreement
that the caller of dev_forward_skb() takes care of the nf_reset().
And wouldn't it be better to consolidate the nf_reset() calls
into one place instead of several, increasing the audit burdon.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists