mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
d426c5e6c2
Ported drivers list and extract all needed source files. This decouples ports according to contrib sources and also enables us to revert lxip to Linux version 3.9, while staying with 3.14 for usb. Fixes #1285
13 lines
471 B
Diff
13 lines
471 B
Diff
diff -r a4522abad72d net/ipv4/icmp.c
|
|
--- a/net/ipv4/icmp.c Tue Oct 15 12:18:08 2013 +0200
|
|
+++ b/net/ipv4/icmp.c Tue Oct 15 12:18:33 2013 +0200
|
|
@@ -787,7 +787,7 @@
|
|
if (!net->ipv4.sysctl_icmp_echo_ignore_all) {
|
|
struct icmp_bxm icmp_param;
|
|
|
|
- icmp_param.data.icmph = *icmp_hdr(skb);
|
|
+ memcpy(&icmp_param.data.icmph, icmp_hdr(skb), sizeof(struct icmphdr));
|
|
icmp_param.data.icmph.type = ICMP_ECHOREPLY;
|
|
icmp_param.skb = skb;
|
|
icmp_param.offset = 0;
|