Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340455
b: refs/heads/master
c: 51a1f72
h: refs/heads/master
i:
  340453: 4411f74
  340451: a288498
  340447: 4ca7ef5
v: v3
  • Loading branch information
Wei Yongjun authored and Jeff Kirsher committed Oct 23, 2012
1 parent 4891e7e commit cfa0faf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a71ab24914b45a9624335866ba00885a33f2108
refs/heads/master: 51a1f721e22a3fc54a3bc1c67991ecea11cc734d
3 changes: 1 addition & 2 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -1778,8 +1778,7 @@ s32 ixgbe_validate_mac_addr(u8 *mac_addr)
else if (IXGBE_IS_BROADCAST(mac_addr))
status = IXGBE_ERR_INVALID_MAC_ADDR;
/* Reject the zero address */
else if (mac_addr[0] == 0 && mac_addr[1] == 0 && mac_addr[2] == 0 &&
mac_addr[3] == 0 && mac_addr[4] == 0 && mac_addr[5] == 0)
else if (is_zero_ether_addr(mac_addr))
status = IXGBE_ERR_INVALID_MAC_ADDR;

return status;
Expand Down

0 comments on commit cfa0faf

Please sign in to comment.