/* * netsniff-ng - the packet sniffing beast * Copyright 2009 - 2013 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef LINKTYPE_H #define LINKTYPE_H #define LINKTYPE_NULL 0 #define LINKTYPE_EN10MB 1 #define LINKTYPE_EN3MB 2 #define LINKTYPE_AX25 3 #define LINKTYPE_PRONET 4 #define LINKTYPE_CHAOS 5 #define LINKTYPE_IEEE802 6 #define LINKTYPE_SLIP 8 #define LINKTYPE_PPP 9 #define LINKTYPE_FDDI 10 #define LINKTYPE_ATM_CLIP 19 #define LINKTYPE_C_HDLC 104 #define LINKTYPE_IEEE802_11 105 #define LINKTYPE_FRELAY 107 #define LINKTYPE_LINUX_SLL 113 #define LINKTYPE_ECONET 115 #define LINKTYPE_IEEE802_11_RADIOTAP 127 #define LINKTYPE_ARCNET_LINUX 129 #define LINKTYPE_LINUX_IRDA 144 #define LINKTYPE_CAN20B 190 #define LINKTYPE_IEEE802_15_4_LINUX 191 #define LINKTYPE_INFINIBAND 247 #define LINKTYPE_NETLINK 253 #define LINKTYPE_MAX 254 #endif ='id' value='33e962c8871f015f5c8978384553dddcf5b81b22'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_input.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2017-01-29 12:40:52 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-01-31 09:08:52 +0200
commit33e962c8871f015f5c8978384553dddcf5b81b22 (patch)
tree43aff96c2ee21d9e0fa2018457778a4de52053cd /net/ipv6/ip6_input.c
parent575ddce0507789bf9830d089557d2199d2f91865 (diff)
rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we have to nullify pointer on that case, to do not break further call to clk_get_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net/ipv6/ip6_input.c')