  	/*
  	 * Before updating sk_refcnt, we must commit prior changes to memory
 diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
-index f2d116a..d3385f1 100644
+index f2d116a..4ca3b3b 100644
 --- a/net/packet/af_packet.c
 +++ b/net/packet/af_packet.c
 @@ -84,6 +84,10 @@

+		tsmode = *((long *)arg);
+
+		switch (tsmode) {
+		case FFCLOCK_TSMODE_FAIRCOMPARE:
+		case FFCLOCK_TSMODE_SYSCLOCK:
+		case FFCLOCK_TSMODE_FFCLOCK:
+			sk->sk_ffclock_tsmode = tsmode;

 	skb->protocol = proto;
 	skb->dev = dev;
 	skb->priority = sk->sk_priority;
@@ -1472,6 +1554,14 @@ static int packet_recvmsg(struct kiocb *iocb, struct socket *sock,
 	if (err)
 		goto out_free;
 
