Project

General

Profile

Actions

Bug #4674

closed

No need to undefine rptr in ip.c

Added by Marcel Telka over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Category:
networking
Start date:
2014-03-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The rptr undefine at line 12123 in ip.c is not needed and should be removed:

12050static mblk_t *
12051ip_xmit_attach_llhdr(mblk_t *mp, nce_t *nce)
12052{
12053    uint_t    hlen;
12054    mblk_t *mp1;
12055    uint_t    priority;
12056    uchar_t *rptr;

...

12122    return (mp1);
12123#undef rptr
12124}
Actions #1

Updated by Sachidananda Urs over 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Sachidananda Urs
Actions #2

Updated by Electric Monk over 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 59b0aa363020bcc817969e1c15ac920d3f866e83

commit  59b0aa363020bcc817969e1c15ac920d3f866e83
Author: Sachidananda Urs <sacchi@gmail.com>
Date:   2014-11-11T05:21:26.000Z

    4674 No need to undefine rptr in ip.c
    Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
    Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF