Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315050
b: refs/heads/master
c: e8efcec
h: refs/heads/master
v: v3
  • Loading branch information
Li RongQing authored and David S. Miller committed Jul 9, 2012
1 parent e5f6d51 commit c8748d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 806a0fbea7b6e6083867cf8bf642f9cbf8e9695e
refs/heads/master: e8efcec5394cbf7ae67ccb137cb1a45ae3e6f6c8
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/emulex/benet/be.h
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ static inline u8 is_udp_pkt(struct sk_buff *skb)

static inline bool is_ipv4_pkt(struct sk_buff *skb)
{
return skb->protocol == ntohs(ETH_P_IP) && ip_hdr(skb)->version == 4;
return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4;
}

static inline void be_vf_eth_addr_generate(struct be_adapter *adapter, u8 *mac)
Expand Down

0 comments on commit c8748d3

Please sign in to comment.