All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_forwardable' function, which is subroutine of 'dev_forward_skb'.
@ 2011-06-28 13:30 alex.bluesman.smirnov
  2011-06-30 12:07 ` WANG Cong
  2011-07-01  6:55 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: alex.bluesman.smirnov @ 2011-06-28 13:30 UTC (permalink / raw)
  To: davem; +Cc: netdev, Alexander Smirnov

From: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
---
 drivers/net/veth.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index 3b99f64..fb2fd37 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -163,9 +163,6 @@ static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev)
 	stats = this_cpu_ptr(priv->stats);
 	rcv_stats = this_cpu_ptr(rcv_priv->stats);
 
-	if (!(rcv->flags & IFF_UP))
-		goto tx_drop;
-
 	/* don't change ip_summed == CHECKSUM_PARTIAL, as that
 	   will cause bad checksum on forwarded packets */
 	if (skb->ip_summed == CHECKSUM_NONE)
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_forwardable' function, which is subroutine of 'dev_forward_skb'.
  2011-06-28 13:30 [PATCH] Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_forwardable' function, which is subroutine of 'dev_forward_skb' alex.bluesman.smirnov
@ 2011-06-30 12:07 ` WANG Cong
  2011-07-01  6:55 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: WANG Cong @ 2011-06-30 12:07 UTC (permalink / raw)
  To: netdev

On Tue, 28 Jun 2011 17:30:44 +0400, alex.bluesman.smirnov wrote:

> From: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
> 

Please add the description here, instead of in $subject.

> Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
> ---

The patch itself looks fine,

Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_forwardable' function, which is subroutine of 'dev_forward_skb'.
  2011-06-28 13:30 [PATCH] Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_forwardable' function, which is subroutine of 'dev_forward_skb' alex.bluesman.smirnov
  2011-06-30 12:07 ` WANG Cong
@ 2011-07-01  6:55 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2011-07-01  6:55 UTC (permalink / raw)
  To: alex.bluesman.smirnov; +Cc: netdev

From: alex.bluesman.smirnov@gmail.com
Date: Tue, 28 Jun 2011 17:30:44 +0400

> From: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
> 
> Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>

Applied.

Please put the verbose patch description in the body of your
email message, right before the signoffs, not in the subject.

The subject provides a "summary" not the entire description.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-01  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 13:30 [PATCH] Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_forwardable' function, which is subroutine of 'dev_forward_skb' alex.bluesman.smirnov
2011-06-30 12:07 ` WANG Cong
2011-07-01  6:55 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.