31 Oct, 2013

1 commit


29 Dec, 2012

1 commit


12 Jun, 2009

1 commit

  • Commit b00055aacdb172c05067612278ba27265fcd05ce " [NET] core: add
    RFC2863 operstate" defined new interface flag values. Its
    documentation specified that these flags could be accessed from user
    space via SIOCGIFFLAGS. However, this does not work because the new
    flags do not fit in that ioctl's argument width.

    Change the documentation to match the code's behavior. Also change
    the source to explicitly show the truncation. This _should_ have no
    effect on executable code, and did not with gcc 4.2.4 generating x86
    code.

    A new ioctl could be defined to return all interface flags to user
    space. However, since this has been broken for three years with no
    one complaining, there doesn't seem much need. They are still
    accessible via netlink.

    Reported-by: "Fredrik Arnerup"
    Signed-off-by: John Dykstra
    Signed-off-by: David S. Miller

    John Dykstra
     

04 Oct, 2006

1 commit


10 May, 2006

1 commit