ip: constify ip_build_and_send_pkt() socket argument
[firefly-linux-kernel-4.4.55.git] / include / net / ip.h
index 525dc07789269d0683650476363821f676785f8c..91a6b2c88341b8d691af61db57fe77222d7e144f 100644 (file)
@@ -100,7 +100,7 @@ int igmp_mc_init(void);
  *     Functions provided by ip.c
  */
 
-int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk,
+int ip_build_and_send_pkt(struct sk_buff *skb, const struct sock *sk,
                          __be32 saddr, __be32 daddr,
                          struct ip_options_rcu *opt);
 int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,