net: Fix fall through warning in y2038 tstamp changes.
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 04:25:31 +0000 (20:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2019 04:25:31 +0000 (20:25 -0800)
commitff7653f94b523d5d87f2f00cbf21a9d9f6de889c
tree3c9cd6f8a7021b91fc17a1f119c2e10b46c060ab
parent303a339f30a9441c4695d3d2cc78f1b33cd959ff
net: Fix fall through warning in y2038 tstamp changes.

net/core/sock.c: In function 'sock_setsockopt':
net/core/sock.c:914:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
   sock_set_flag(sk, SOCK_TSTAMP_NEW);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/core/sock.c:915:2: note: here
  case SO_TIMESTAMPING_OLD:
  ^~~~

Fixes: 9718475e6908 ("socket: Add SO_TIMESTAMPING_NEW")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c