ipv6: constify ip6_xmit() sock argument
[firefly-linux-kernel-4.4.55.git] / include / net / ipv6.h
index 9877b68ad2071d2e5792808954a4d6bd1a3189f7..3dde042bcd3fc4db7efe95207a4c7b0708e1aed2 100644 (file)
@@ -812,7 +812,7 @@ int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
 /*
  *     upper-layer output functions
  */
-int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
+int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
             struct ipv6_txoptions *opt, int tclass);
 
 int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr);