diff options
| author | Li RongQing <[email protected]> | 2012-07-04 16:05:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-07-09 00:14:16 -0700 |
| commit | e8efcec5394cbf7ae67ccb137cb1a45ae3e6f6c8 (patch) | |
| tree | 01b25e4d9b576f39ed472cf5c539cb6e3b0b4bd0 /scripts | |
| parent | 806a0fbea7b6e6083867cf8bf642f9cbf8e9695e (diff) | |
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 <[email protected]>
Signed-off-by: Li RongQing <[email protected]>
Acked-by: Somnath Kotur <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions