1/3 rtnetlink -- rtattr_strcmp const args.
Subsystems (2)
PATCH 1/1 1/3 rtnetlink -- rtattr_strcmp const args.
trivial, rtattr_strcmp doesn't modify its arguments
include/linux/rtnetlink.h +1 -1
@@ -618,7 +618,7 @@#include <linux/config.h> -static __inline__int rtattr_strcmp (struct rtattr *rta,char *str) +static __inline__int rtattr_strcmp (const struct rtattr *rta,const char *str) {int len =strlen (str) +1 ;return len > rta->rta_len ||memcmp (RTA_DATA (rta), str, len);
David S. Miller
AppliedQuoted 1 line · On Mon, 22 Sep 2003 16:35:15 -0700 Stephen Hemminger <[email protected]>…
trivial,
rtattr_strcmpdoesn't modify its arguments
Applied, thanks.