Print this page
9832 Original bug discovered as 9560 has friends IPv4 packets coming in as IPv6 creating chaos
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 18,28 **** * * CDDL HEADER END */ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2017, Joyent, Inc. */ #ifndef _SYS_MAC_IMPL_H #define _SYS_MAC_IMPL_H --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2019, Joyent, Inc. */ #ifndef _SYS_MAC_IMPL_H #define _SYS_MAC_IMPL_H
*** 721,731 **** extern void mac_init(void); extern int mac_fini(void); extern void mac_ndd_ioctl(mac_impl_t *, queue_t *, mblk_t *); ! extern boolean_t mac_ip_hdr_length_v6(ip6_t *, uint8_t *, uint16_t *, uint8_t *, ip6_frag_t **); extern mblk_t *mac_copymsgchain_cksum(mblk_t *); extern mblk_t *mac_fix_cksum(mblk_t *); extern void mac_packet_print(mac_handle_t, mblk_t *); --- 721,731 ---- extern void mac_init(void); extern int mac_fini(void); extern void mac_ndd_ioctl(mac_impl_t *, queue_t *, mblk_t *); ! extern int mac_ip_hdr_length_v6(ip6_t *, uint8_t *, uint16_t *, uint8_t *, ip6_frag_t **); extern mblk_t *mac_copymsgchain_cksum(mblk_t *); extern mblk_t *mac_fix_cksum(mblk_t *); extern void mac_packet_print(mac_handle_t, mblk_t *);