]> git.baikalelectronics.ru Git - kernel.git/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)
commit433fdabbdf0389315a256d51fb52d583b7d5dbb2
treee49c621111a3a8831b92a530c2e8b0a11bb8a9a1
parentc49171ee3b0a0123a822f176d00ee2a59b87e668
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