ip6_output.c (0625491493d9000e4556bf566d205c28c8e7dc4e) ip6_output.c (6ce9e7b5fe3195d1ae6e3a0753d4ddcac5cd699e)
1/*
2 * IPv6 output functions
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Based on linux/net/ipv4/ip_output.c

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

1506
1507 ICMP6MSGOUT_INC_STATS_BH(net, idev, icmp6_hdr(skb)->icmp6_type);
1508 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTMSGS);
1509 }
1510
1511 err = ip6_local_out(skb);
1512 if (err) {
1513 if (err > 0)
1/*
2 * IPv6 output functions
3 * Linux INET6 implementation
4 *
5 * Authors:
6 * Pedro Roque <roque@di.fc.ul.pt>
7 *
8 * Based on linux/net/ipv4/ip_output.c

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

1506
1507 ICMP6MSGOUT_INC_STATS_BH(net, idev, icmp6_hdr(skb)->icmp6_type);
1508 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTMSGS);
1509 }
1510
1511 err = ip6_local_out(skb);
1512 if (err) {
1513 if (err > 0)
1514 err = np->recverr ? net_xmit_errno(err) : 0;
1514 err = net_xmit_errno(err);
1515 if (err)
1516 goto error;
1517 }
1518
1519out:
1520 ip6_cork_release(inet, np);
1521 return err;
1522error:

--- 17 unchanged lines hidden ---
1515 if (err)
1516 goto error;
1517 }
1518
1519out:
1520 ip6_cork_release(inet, np);
1521 return err;
1522error:

--- 17 unchanged lines hidden ---