Re: [PATCH 6/6]: Tidy up unused structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Arnaldo Carvalho de Melo:
|  > --- a/net/dccp/proto.c
|  > +++ b/net/dccp/proto.c
|  > @@ -469,9 +469,6 @@ static int do_dccp_setsockopt(struct soc
|  >  
|  >       lock_sock(sk);
|  >       switch (optname) {
|  > -     case DCCP_SOCKOPT_PACKET_SIZE:
|  > -             dp->dccps_packet_size = val;
|  > -             break;
|  
|  ... printk(KERN_WARNING "setsockopt(PACKET_SIZE) is deprecated, "
|                          "fix your app\n");
Many thanks for spotting this - I will update the patch and resubmit it.
How bad to think what happens if 1 gets re-allocated and an old app tries
to set it ... :-x


Gerrit
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux