raw_ip6.c (33cde13046eaba762428c55bb5d5e07c1a7c5f33) raw_ip6.c (f6dfe47a145263dc5eb67fa4789925ab708709bc)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 637 unchanged lines hidden (view full) ---

646 ICMP6_FILTER_SETPASSALL(inp->in6p_icmp6filt);
647 INP_WUNLOCK(inp);
648 return (0);
649}
650
651static void
652rip6_detach(struct socket *so)
653{
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 637 unchanged lines hidden (view full) ---

646 ICMP6_FILTER_SETPASSALL(inp->in6p_icmp6filt);
647 INP_WUNLOCK(inp);
648 return (0);
649}
650
651static void
652rip6_detach(struct socket *so)
653{
654 INIT_VNET_INET(so->so_vnet);
654 INIT_VNET_INET6(so->so_vnet);
655 struct inpcb *inp;
656
657 inp = sotoinpcb(so);
658 KASSERT(inp != NULL, ("rip6_detach: inp == NULL"));
659
660 if (so == V_ip6_mrouter && ip6_mrouter_done)
661 ip6_mrouter_done();

--- 235 unchanged lines hidden ---
655 INIT_VNET_INET6(so->so_vnet);
656 struct inpcb *inp;
657
658 inp = sotoinpcb(so);
659 KASSERT(inp != NULL, ("rip6_detach: inp == NULL"));
660
661 if (so == V_ip6_mrouter && ip6_mrouter_done)
662 ip6_mrouter_done();

--- 235 unchanged lines hidden ---