lkml.org 
[lkml]   [2017]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net] qmi_wwan: Add missing skb_reset_mac_header-call
Date
Kristian Evensen <kristian.evensen@gmail.com> writes:

> When we receive a packet on a QMI device in raw IP mode, we should call
> skb_reset_mac_header() to ensure that skb->mac_header contains a valid
> offset in the packet. While it shouldn't really matter, the packets have
> no MAC header and the interface is configured as-such, it seems certain
> parts of the network stack expects a "good" value in skb->mac_header.

Thanks. Yes, I see that the tun driver also does this.

Acked-by: Bjørn Mork <bjorn@mork.no>

And his should probably go to stable as well? with a

Fixes: 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode")

\
 
 \ /
  Last update: 2017-11-08 21:05    [W:0.064 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site