diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2015-03-06 05:50:39 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2015-03-06 05:50:39 +0000 |
| commit | fd8dd3a6d70bfdffb80c2dfe586a9a492ee06d54 (patch) | |
| tree | 699ca45f3be0a318253900b84e9f0d85de0c8b74 /sys/netinet6 | |
| parent | 76b3c718be824fb13fae4e2e232ae2425ef81fd8 (diff) | |
Notes
Diffstat (limited to 'sys/netinet6')
| -rw-r--r-- | sys/netinet6/in6_pcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 7296ae64b0c8..10cd3f2b1bf0 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -645,7 +645,7 @@ in6_pcbnotify(struct inpcbinfo *pcbinfo, struct sockaddr *dst, * know the value, notify. * XXX: should we avoid to notify the value to TCP sockets? */ - if (cmd == PRC_MSGSIZE) + if (cmd == PRC_MSGSIZE && cmdarg != NULL) ip6_notify_pmtu(inp, (struct sockaddr_in6 *)dst, *(u_int32_t *)cmdarg); |
