]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: make net_protocol const
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 25 Aug 2017 14:21:44 +0000 (19:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 18:30:02 +0000 (11:30 -0700)
commitc4b266099ea1a1f43e3f9c68dcbef4e00ae52986
tree8319c5112c944926ae81cf5adc04d3a1381311cb
parentadb95997721dff9c568cccf6330bd881c3570a46
ipv4: make net_protocol const

Make these const as they are only passed to a const argument of the
function inet_add_protocol.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c