summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/main.c
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-11-19 00:40:42 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-19 16:37:03 +0100
commit5a2138812604c32b7617b3b2e53e336617121d3b (patch)
treebe6e71e9341b9f969e45539071b631238b14fd7f /net/batman-adv/main.c
parentaf_packet: Use virtio_net_hdr_to_skb(). (diff)
downloadlinux-5a2138812604c32b7617b3b2e53e336617121d3b.tar.xz
linux-5a2138812604c32b7617b3b2e53e336617121d3b.zip
af_packet: Use virtio_net_hdr_from_skb() directly.
Remove static function __packet_rcv_vnet(), which only called virtio_net_hdr_from_skb() and BUG()ged out if an error code was returned. Instead, call virtio_net_hdr_from_skb() from the former call sites of __packet_rcv_vnet() and actually use the error handling code that is already there. Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/main.c')
0 files changed, 0 insertions, 0 deletions