diff --git a/net/dccp/output.c b/net/dccp/output.c index 33ce737ef3a8e9405980c468f5b15ba2565d0c4c..7caa7f57bb7ea5f956079347be7ce9925f6f78bc 100644 --- a/net/dccp/output.c +++ b/net/dccp/output.c @@ -391,7 +391,7 @@ int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code) * FIXME: what if rebuild_header fails? * Should we be doing a rebuild_header here? */ - int err = inet_sk_rebuild_header(sk); + int err = inet_csk(sk)->icsk_af_ops->rebuild_header(sk); if (err != 0) return err;