android_kernel_xiaomi_sm8350/net/core
Eric Dumazet a19faf0250 net: fix skb_defer_rx_timestamp()
After commit c1f19b51d1 (net: support time stamping in phy devices.),
kernel might crash if CONFIG_NETWORK_PHY_TIMESTAMPING=y and
skb_defer_rx_timestamp() handles a packet without an ethernet header.

Fixes kernel bugzilla #24102

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=24102
Reported-and-tested-by: Andrew Watts <akwatts@ymail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-10 16:20:56 -08:00
..
datagram.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
dev_addr_lists.c
dev.c net: check queue_index from sock is valid for device 2010-11-01 12:55:52 -07:00
drop_monitor.c
dst.c net/dst: dst_dev_event() called after other notifiers 2010-11-09 12:17:16 -08:00
ethtool.c
fib_rules.c fib_rules: __rcu annotates ctarget 2010-10-27 11:37:32 -07:00
filter.c filter: fix sk_filter rcu handling 2010-12-06 09:29:43 -08:00
flow.c
gen_estimator.c
gen_stats.c
iovec.c net: Limit socket I/O iovec total length to INT_MAX. 2010-10-28 11:47:52 -07:00
kmap_skb.h
link_watch.c
Makefile
neighbour.c
net_namespace.c net_ns: add __rcu annotations 2010-10-25 14:18:27 -07:00
net-sysfs.c net: zero kobject in rx_queue_release 2010-11-18 09:41:40 -08:00
net-sysfs.h
net-traces.c
netevent.c
netpoll.c
pktgen.c pktgen: correct uninitialized queue_map 2010-11-08 12:17:07 -08:00
request_sock.c net: allow GFP_HIGHMEM in __vmalloc() 2010-11-21 10:04:04 -08:00
rtnetlink.c rtnetlink: Fix message size calculation for link messages 2010-11-12 10:53:09 -08:00
scm.c
skbuff.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
sock.c net: avoid limits overflow 2010-11-10 12:12:00 -08:00
stream.c
sysctl_net_core.c rps: add __rcu annotations 2010-10-25 14:18:27 -07:00
timestamping.c net: fix skb_defer_rx_timestamp() 2010-12-10 16:20:56 -08:00
user_dma.c
utils.c