diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2012-07-04 18:05:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-09 09:14:16 +0200 |
commit | e8efcec5394cbf7ae67ccb137cb1a45ae3e6f6c8 (patch) | |
tree | 01b25e4d9b576f39ed472cf5c539cb6e3b0b4bd0 /lib/percpu_counter.c | |
parent | bcm87xx: fix reg-init comment typo (diff) | |
download | linux-e8efcec5394cbf7ae67ccb137cb1a45ae3e6f6c8.tar.xz linux-e8efcec5394cbf7ae67ccb137cb1a45ae3e6f6c8.zip |
be2net: Fix Endian
ETH_P_IP is host Endian, skb->protocol is big Endian, when
compare them, we should change ETH_P_IP from host endian
to big endian, htons, not ntohs.
CC: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions