commit | 5b70ca3599071a0e26bceab9dd6d7e4c53318881 | [log] [tgz] |
---|---|---|
author | Li RongQing <roy.qing.li@gmail.com> | Mon Jul 09 20:56:06 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 11 01:31:23 2012 -0700 |
tree | 979fa357f308329817c51229e6f3f9cbb324604b | |
parent | 4e01df28d45464d82894bc7e3b551fc8e59fb76e [diff] |
ksz884x: fix Endian ETH_P_IP is host Endian, skb->protocol is big Endian, when compare them, Using htons on skb->protocol is wrong. And fix two code style issues: indentation and remove unnecessary parentheses. CC: Tristram Ha <Tristram.Ha@micrel.com> CC: Ben Hutchings <bhutchings@solarflare.com> CC: Joe Perches <joe@perches.com> Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>