Skip to content

Instantly share code, notes, and snippets.

@dkruchinin
Created February 4, 2011 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkruchinin/810522 to your computer and use it in GitHub Desktop.
Save dkruchinin/810522 to your computer and use it in GitHub Desktop.
goto inside macro
#define NLMSG_NEW(skb, pid, seq, type, len, flags) \
({ if (unlikely(skb_tailroom(skb) < (int)NLMSG_SPACE(len))) \
goto nlmsg_failure; \
__nlmsg_put(skb, pid, seq, type, len, flags); })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment