]> Pileus Git - ~andy/linux/commit
staging: csr: fix the reset of skb mac header
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 13 Jun 2013 12:12:14 +0000 (20:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:48:12 +0000 (14:48 -0700)
commit126898b0a26a7e1b01a5f90a19601495094e2055
treee49c621111a3a8831b92a530c2e8b0a11bb8a9a1
parent255ece7c4d9e63e2a5e784247bc2e7b639cae4dd
staging: csr: fix the reset of skb mac header

mac_header can be offset if NET_SKBUFF_DATA_USES_OFFSET is set, so
we should call skb_reset_mac_header to reset mac_header.

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/monitor.c