From: Oliver Hartkopp Date: Fri, 28 Feb 2014 15:36:19 +0000 (+0100) Subject: can: preserve skbuff protocol in can_put_echo_skb X-Git-Tag: v3.15-rc1~113^2~206^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94bc9c46e8e3e1bb5f707e81fd8c60fd93266e6;p=pandora-kernel.git can: preserve skbuff protocol in can_put_echo_skb The skbuff protocol value was formerly fixed/sanitized to ETH_P_CAN in can_put_echo_skb(). With CAN FD this value has to be preserved. This patch changes the hard assignment of the protocol value to a check of valid protocol values for CAN and CAN FD. Signed-off-by: Oliver Hartkopp Acked-by: Stephane Grosjean Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed