* [PATCH net-next] net: iseries_veth: Use is_unicast_ether_addr helper
@ 2011-07-04 9:52 Tobias Klauser
2011-07-05 3:31 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2011-07-04 9:52 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/net/iseries_veth.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c
index 242bf52..53dd39e 100644
--- a/drivers/net/iseries_veth.c
+++ b/drivers/net/iseries_veth.c
@@ -1182,7 +1182,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev)
struct veth_port *port = netdev_priv(dev);
HvLpIndexMap lpmask;
- if (! (frame[0] & 0x01)) {
+ if (is_unicast_ether_addr(frame)) {
/* unicast packet */
HvLpIndex rlp = frame[5];
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: iseries_veth: Use is_unicast_ether_addr helper
2011-07-04 9:52 [PATCH net-next] net: iseries_veth: Use is_unicast_ether_addr helper Tobias Klauser
@ 2011-07-05 3:31 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-07-05 3:31 UTC (permalink / raw)
To: tklauser; +Cc: netdev
From: Tobias Klauser <tklauser@distanz.ch>
Date: Mon, 4 Jul 2011 11:52:03 +0200
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-05 3:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-04 9:52 [PATCH net-next] net: iseries_veth: Use is_unicast_ether_addr helper Tobias Klauser
2011-07-05 3:31 ` 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.